/* Styles added on the MVC site (site.css has the rest).
   On a phone the bar at the top is one row: Subjects, the name, Search, Daily review, the user and a menu (⋯) with
   the settings, the other pages and "How to use this page". wwwroot/js/app.js moves the controls into place. */
.m-tools,.m-menu,.m-search{display:none}

@media (max-width:760px){
  body.m-bar .bar{padding-top:8px;padding-bottom:8px}
  body.m-bar .bar-in{flex-wrap:nowrap;gap:8px}
  body.m-bar .brand{font-size:1.1rem;min-width:0;overflow:hidden;white-space:nowrap}
  body.m-bar .controls{display:none}
  body.m-bar .m-tools{display:flex;align-items:center;gap:6px;margin-left:auto;flex:none}
  .m-icon{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;flex:none}
  .m-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
  .m-icon#mMenuBtn svg{fill:currentColor;stroke:none}
  .m-icon[aria-expanded=true]{background:var(--accent);color:var(--paper);border-color:var(--accent)}
  /* Daily review and the user as small round buttons (the count / the emoji) */
  body.m-bar #reviewBtn[hidden]{display:none}
  body.m-bar #userBtn{height:36px;min-width:36px;padding:0 8px;font-size:16px;display:inline-flex;align-items:center;justify-content:center}
  body.m-bar #userBtn #userName{display:none}
  body.m-bar #userBtn[hidden]{display:none}
  /* search: a row under the bar, shown with the search button */
  body.m-bar .m-search:not([hidden]){display:flex;margin-top:8px}
  body.m-bar .m-search input[type=search]{flex:1 1 auto;width:100%}
  /* the menu: below the bar, over the page */
  body.m-bar .m-menu:not([hidden]){display:block;position:fixed;left:0;right:0;top:var(--bar-bottom,60px);bottom:0;z-index:6;
    background:color-mix(in srgb,var(--ink) 25%,transparent);overflow:auto;padding:0 10px 16px}
  .m-menu-in{background:var(--paper);border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;padding:6px 16px 16px;box-shadow:0 12px 30px rgba(0,0,0,.18);max-width:520px;margin:0 auto}
  .m-menu-in h3{font:600 .72rem/1 var(--f-body);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:16px 0 8px}
  .m-set{display:flex;flex-direction:column}
  .m-set > label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);
    font-size:.95rem;color:var(--ink);text-transform:none;letter-spacing:0}
  .m-set > label:last-child{border-bottom:0}
  .m-set > label.switch{justify-content:flex-start}
  .m-set > label.switch .niq-demo{margin-left:auto}
  .m-set select{max-width:60%}
  .m-set input[type=range]{flex:1 1 auto;max-width:55%}
  .m-set > label[for=rate]{justify-content:flex-start;gap:8px}
  .m-set > label[for=rate] input[type=range]{min-width:0;max-width:none;width:auto}
  /* the bar stays at the top: the page under it scrolls in its own box of the screen's height (no lost bar after zooming or
     automatic scrolling while reading) */
  html:has(body.m-bar),body.m-bar{height:100%;overflow:hidden}
  body.m-bar{display:flex;flex-direction:column;height:100dvh}
  body.m-bar .bar{position:relative;top:0;flex:none}
  body.m-bar .page{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  body.m-bar .unit-nav{top:0}
  .m-links{display:flex;flex-wrap:wrap;gap:8px}
  .m-links .about-link{font-size:.9rem;padding:8px 12px}
  .m-links [hidden]{display:none}
  .m-howto .howto{margin:14px 0 0;max-width:none}
  .m-howto .howto ul{padding-left:18px}
}
/* a narrow phone: the Hebrew name only */
/* the whole name on a phone too (עברית Duo Hebrew): a little smaller on a narrow one; under 340px only עברית */
@media (max-width:480px){ body.m-bar .brand{font-size:1rem;gap:5px;overflow:visible;flex:none} }
@media (max-width:340px){ body.m-bar .brand span:not(.he-mark){display:none} }

/* ---- the tabs under the bar (wwwroot/js/tabs.js): 📚 Lessons, 🧩 Practice, 💬 Class board, ⚙️ Settings ---- */
.tab-flag{display:none!important}
.tabs{max-width:1180px;margin:8px auto 0;display:flex;gap:6px;flex-wrap:wrap}
.tabs button,.sub-tabs button{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:999px;padding:6px 14px;font:500 .92rem/1.2 var(--f-body);cursor:pointer;white-space:nowrap}
.tabs button:hover,.sub-tabs button:hover{border-color:var(--accent)}
.tabs button[aria-pressed=true],.sub-tabs button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--paper)}
.tabs button[hidden],.sub-tabs button[hidden]{display:none}
.sub-tabs .rev-n{display:inline-block;min-width:1.4em;padding:0 5px;margin-left:2px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:.8em;text-align:center}
.sub-tabs .rev-n:empty{display:none}
.tabs .rev-n{display:inline-block;min-width:1.4em;padding:0 5px;margin-left:2px;border-radius:999px;background:var(--accent);color:var(--paper);font-size:.8em;text-align:center}
.tabs .rev-n:empty{display:none}
.tabs button[aria-pressed=true] .rev-n{background:var(--paper);color:var(--accent)}
/* another tab: the lessons and their tools are put away (the subject list stays on 🧩 Practice) */
body[data-tab=board] .page,body[data-tab=settings] .page,
body[data-tab=board] #allBtn,body[data-tab=settings] #allBtn,
body[data-tab=board] #panel,body[data-tab=settings] #panel,
body[data-tab]:not([data-tab=lessons]) #q,
body[data-tab]:not([data-tab=lessons]) #mSearchBtn,
body[data-tab]:not([data-tab=lessons]) #mSearch{display:none!important}
/* 📚 Lessons: the subjects without their exercises (they are on 🧩 Practice) */
body[data-tab=lessons] .unit .practice,body[data-tab=lessons] .unit .sheet-ex,body[data-tab=lessons] .unit .abc-practice{display:none!important}
/* 🧩 Practice: the subject's title and its exercises only; or its Duolingo sentences / conversations (pages shown inside) */
body[data-tab=practice] .unit > :not(h1):not(.px-tools):not(.unit-nav):not(.practice):not(.sheet-ex):not(.abc-practice):not(.px-setpick):not(.px-expick){display:none!important}
body[data-tab=practice] #howto,body[data-tab=practice] #noVoice,body[data-tab=practice] .unit .read-subject,body[data-tab=practice] .unit .read-cont,body[data-tab=practice] .unit .read-subject + .hq{display:none!important}
.px-subbar .sub-tabs{padding:0 0 10px;margin:0;max-width:none}
.px-none{color:var(--muted)}
.px-frames{display:flex;height:calc(100dvh - var(--tab-top,110px) - 70px);min-height:420px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--bg)}
.px-frames[hidden]{display:none}
.px-frames iframe{flex:1;width:100%;height:100%;border:0}
.px-frames iframe[hidden]{display:none}
.sheet-ex{margin:18px 0 8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.sheet-ex-h{margin:0 0 8px;font-size:1rem}
.tab-pane{position:fixed;left:0;right:0;top:var(--tab-top,110px);bottom:0;z-index:4;background:var(--bg)}
.tab-pane[hidden]{display:none}
.frame-pane{display:flex;flex-direction:column}
.frame-pane .frames{flex:1;min-height:0;display:flex}
.frame-pane iframe{flex:1;width:100%;height:100%;border:0;background:var(--bg)}
.frame-pane iframe[hidden]{display:none}
.sub-tabs{display:flex;gap:6px;flex-wrap:wrap;max-width:980px;width:100%;margin:0 auto;padding:10px 16px 0}
.sub-tabs button{font-size:.86rem;padding:5px 12px}
.set-pane{overflow-y:auto;padding:16px max(16px,env(safe-area-inset-left,0px)) 24px}
.set-in{max-width:620px;margin:0 auto}
.set-in h2{font:700 1.5rem/1.2 var(--f-display);margin:4px 0 14px}
.set-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:12px 16px;margin-bottom:14px}
.set-card h3{font:600 .72rem/1 var(--f-body);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:4px 0 10px}
.set-acct{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.set-pane #userBtn{height:auto;font-size:.95rem;padding:7px 14px}
.set-pane #userBtn #userName{display:inline!important}
.set-acct .muted{color:var(--muted);font-size:.86rem}
.set-list{display:flex;flex-direction:column}
.set-list > label,.set-list > .theme-row{display:flex!important;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);margin:0}
.set-list > :last-child{border-bottom:0}
.set-list > label > select,.set-list > label > input[type=range]{margin-left:auto}
.set-list > label.switch .niq-demo{margin-left:auto}
.set-list select{max-width:60%}
.set-list > .theme-row .theme-btn{margin-left:auto}
@media (max-width:760px){
  .tabs{margin-top:8px;gap:4px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .tabs::-webkit-scrollbar{display:none}
  .tabs button{flex:1 0 auto;padding:5px 9px;font-size:.8rem}
  .sub-tabs{padding:8px 8px 0}
}

/* 📖 the story as a panel of the exercises' accordion (app.js: pxStory) */
.px-bar.px-acc>details.px-story{margin:0;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.px-bar.px-acc>details.px-story>summary{padding:11px 12px;border-radius:8px;background:var(--accent-soft);color:var(--accent);font:500 .85rem/1.2 var(--f-body);align-items:center}
.px-bar.px-acc>details.px-story>summary::before{color:inherit;opacity:.7}
.px-bar.px-acc>details.px-story[open]>summary{box-shadow:inset 0 0 0 2px currentColor;border-radius:8px 8px 0 0}
.px-bar.px-acc>details.px-story .sheet-t{font-weight:600}
.px-bar.px-acc>details.px-story .sheet-s{color:var(--muted);font-size:.8rem}
.px-bar.px-acc>details.px-story>.sheet-body{padding:4px 14px 12px}
/* inside the accordion the story's Hebrew keeps its own size (the accordion's buttons are small) */
.px-bar.px-acc>details.px-story .sheet-body{font-size:1rem;line-height:1.55}
.px-bar.px-acc>details.px-story button.he{font:500 1.12em/1.3 var(--f-he);color:var(--accent);background:var(--accent-soft);border:0;border-radius:5px;padding:1px 6px 2px;margin:0 1px}
.px-bar.px-acc>details.px-story button.he.story-he{font-size:1.4rem;line-height:1.5;padding:2px 10px}
.px-bar.px-acc>details.px-story .story-q button{font-size:.95rem;line-height:1.3}
/* 🧩 Duolingo sentences / 🗣 Conversations: panels of the accordion with the page inside (tabs.js) */
.px-bar.px-acc>details.px-link>summary{background:var(--play-soft);color:var(--play)}
.px-fbody{padding:0!important}
.px-fbody iframe{display:block;width:100%;height:min(78vh,760px);min-height:440px;border:0;border-radius:0 0 8px 8px;background:var(--bg)}
.px-more{display:flex;flex-direction:column;gap:6px}
.px-more>details.px-link>summary{padding:11px 12px;border-radius:8px;background:var(--play-soft);color:var(--play);font:500 .85rem/1.2 var(--f-body)}
/* the subject's own sentences are the first set of 📝 Sentences (conv.js: subjectSet); their list is put away on the Practice tab */
body[data-tab=practice] .practice .px-list,body[data-tab=practice] .practice h3:has(+ .px-list),body[data-tab=practice] .practice .px-show,body[data-tab=practice] .practice .px-tip{display:none!important}
/* one accordion: the 📖 story, 📝 sentences and 🗣 conversations panels look like the exercises above them */
.px-bar.px-acc>details.px-story,.px-more>details.px-story{border:0;background:transparent}
.px-bar.px-acc>details.px-story>summary,.px-more>details.px-story>summary,.px-bar.px-acc>details.px-link>summary{background:#fdf0e0;color:#a2560b;border:0;border-radius:8px;padding:11px 12px;font:500 .85rem/1.2 var(--f-body)}
.px-bar.px-acc>details.px-story>summary::before,.px-more>details.px-story>summary::before{content:"▸";font-size:.8em;opacity:.7;color:inherit}
.px-bar.px-acc>details.px-story[open]>summary,.px-more>details.px-story[open]>summary{box-shadow:inset 0 0 0 2px currentColor}
.px-bar.px-acc>details.px-story[open]>.sheet-body,.px-bar.px-acc>details.px-story[open]>.px-fbody,.px-more>details.px-story[open]>.px-fbody{margin:6px 0;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.px-bar.px-acc>details.px-story .sheet-s{color:inherit;opacity:.75}
.px-bar.px-acc>details.px-story .sheet-t,.px-more>details.px-story .sheet-t{color:inherit}
/* 🧩 Practice tab: the title says so ("Practice → Clothing"); no Practice heading or rules above the exercises */
body[data-tab=practice] .unit > h1::before{content:"Practice → ";color:var(--muted)}
html.lang-ru body[data-tab=practice] .unit > h1::before{content:"Практика → "}
/* a bookmarked title (🔖 on Lessons) keeps "Practice →" in the line here, without the bookmark mark */
body[data-tab=practice] .unit > h1.bookmarked{box-shadow:none}
body[data-tab=practice] .unit > h1.bookmarked::before{position:static;font-size:inherit;line-height:inherit}
body[data-tab=practice] .unit .practice,body[data-tab=practice] .unit .abc-practice{border-top:0;margin-top:8px;padding-top:0}
body[data-tab=practice] .unit .practice > h2,body[data-tab=practice] .unit .abc-practice > h2{display:none}
body[data-tab=practice] .unit .sheet-ex{margin-top:8px}
/* no ? under the list: each panel has its own */
body[data-tab=practice] .unit .px-bar.px-acc > .px-acc-tail{display:none}

/* a subject's level in the subject list (app.js markLevels): started, practised, mastered, remembered */
a[data-u][data-lv]::after{margin-inline-start:6px;font-weight:700}
a[data-u][data-lv="1"]::after{content:"○";color:#9aa3ad}
a[data-u][data-lv="2"]::after{content:"●";color:#e0a020}
a[data-u][data-lv="3"]::after{content:"●";color:#2e9e5b}
a[data-u][data-lv="4"]::after{content:"★";color:#c9a000}

/* "The rule" of a subject, on its lesson (moved there from the practice part by app.js) */
.lesson-rule{margin:18px 0 8px}
.lesson-rule .px-rule{background:var(--paper,#fff);border:1px solid var(--line,#e5e7eb);border-radius:10px;padding:10px 14px;margin:6px 0 12px;max-width:720px}
.lesson-rule .px-rule p{margin:.3em 0}
.lesson-rule .px-rule table{border-collapse:collapse;margin:.5em 0;font-size:.92rem}
.lesson-rule .px-rule th,.lesson-rule .px-rule td{border:1px solid var(--line,#e5e7eb);padding:4px 8px;text-align:start}
.lesson-rule .px-rule th{color:var(--muted,#6b7280);font-weight:600}
/* small phones: the Sentences / Conversations panel's counts a little smaller, so the heading stays on one line */
@media (max-width:400px){ .px-bar.px-acc>details.px-link>summary .sheet-s{font-size:.72rem} .px-bar.px-acc>details.px-link>summary{gap:4px} }
/* phones: just the subject's name as the Practice tab's title (the tab itself says Practice) */
@media (max-width:600px){ body[data-tab=practice] .unit > h1::before,html.lang-ru body[data-tab=practice] .unit > h1::before{content:none} }

/* Translate switch in the subject's top bar: Practice tab only */
.nav-tr{display:inline-flex;align-items:center;gap:6px;font:500 .85rem/1.2 var(--f-body);flex:none;white-space:nowrap}
body:not([data-tab=practice]) .nav-tr{display:none}
.unit-nav:has(.nav-tr) button.next{margin-left:0}
body:not([data-tab=practice]) .unit-nav:has(.nav-tr) button.next{margin-left:auto}
@media (max-width:600px){ body[data-tab=practice] .unit-nav{gap:6px} body[data-tab=practice] .unit-nav button{max-width:38%} }

/* the set of sentences for the Sentences / Listen / Word order / Test rows: under the subject's title, Practice tab only */
.unit > .px-setpick{display:none}
body[data-tab=practice] .unit > .px-setpick{display:block;margin:4px 0 2px}
body[data-tab=practice] .unit > .px-setpick select{display:block;width:100%;max-width:none;box-sizing:border-box;font:500 .95rem/1.3 var(--f-body);padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:inherit}
body[data-tab=practice] .unit details.story.px-set-off{display:none}
/* the exercise chosen from a drop-down list under the set's, shown alone (tabs.js: exPick): the accordion's headers are hidden */
.unit > .px-expick{display:none}
body[data-tab=practice] .unit > .px-expick{display:block;margin:6px 0 2px}
body[data-tab=practice] .unit > .px-expick select{display:block;width:100%;max-width:none;box-sizing:border-box;font:600 .95rem/1.3 var(--f-body);padding:8px 10px;border:1px solid var(--accent);border-radius:10px;background:var(--accent-soft);color:var(--accent)}
body[data-tab=practice] .unit .px-main > details > summary,
body[data-tab=practice] .unit .px-main > button:not(.px-show):not(.hq){display:none!important}
body[data-tab=practice] .unit .px-main > details:not([open]){display:none!important}
body[data-tab=practice] .unit details.story .story-trbar{display:none}
body[data-tab=practice] .unit .px-acc > .px-set-off{display:none!important}
.bm-ask{position:fixed;z-index:60;display:flex;align-items:center;gap:8px;padding:6px 8px 6px 12px;background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:0 4px 16px rgba(0,0,0,.18);font:500 .9rem/1.2 var(--f-body);color:inherit}
.bm-ask button{font:inherit;padding:4px 12px;border-radius:8px;border:1px solid var(--line);background:var(--paper);color:inherit;cursor:pointer}
.bm-ask .bm-yes{background:var(--accent);border-color:var(--accent);color:#fff}

/* the story lines' voice and ✏️ for the administrator and editors (app.js storyTools), as on the Practice sentences */
.st-tools{display:inline-flex;gap:6px;align-items:center;margin-inline-start:8px;vertical-align:middle}
.st-chip{font:500 .75rem/1.2 var(--f-body);padding:3px 9px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:var(--muted);cursor:pointer}
.st-chip:disabled{cursor:default;opacity:.8}
.st-chip:not(:disabled):hover{border-color:var(--accent);color:var(--accent)}
.st-sel{padding:3px 6px;appearance:auto}

/* 🧩 Practice: the title, the set and the exercise stay at the top (tabs.js pin(): their top, under the subject bar) */
body[data-tab=practice] .unit > .px-pin{position:sticky;z-index:2;background:var(--paper)}
body[data-tab=practice] .unit > .px-pin.px-pin-last{padding-bottom:8px;border-bottom:1px solid var(--line);margin-bottom:8px}
/* 🎧 Listening quiz: replaced by 👂 Listen (tabs.js) */
button.px-quiz{display:none!important}
/* …right under the subject bar, one panel with it: no gaps between them for the page to show through */
body[data-tab=practice] .unit > .px-pin{margin-top:0!important;margin-bottom:0!important}
body[data-tab=practice] .unit > h1.px-pin{padding-top:12px;padding-bottom:6px}
body[data-tab=practice] .unit > .px-setpick.px-pin,body[data-tab=practice] .unit > .px-expick.px-pin{padding-top:4px;padding-bottom:4px}
body[data-tab=practice] .unit > .px-pin.px-pin-last{padding-bottom:10px;margin-bottom:10px!important}
/* 🧩 Practice's header (tabs.js tools()): the title in the bar between ← and →; under it the Translate switch and the exercise's buttons */
.unit-nav .nav-title{display:none}
body[data-tab=practice] .unit-nav .nav-title{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1 1 auto;min-width:0;text-align:center}
body[data-tab=practice] .unit-nav .nav-title > span{display:block;max-width:100%;font:600 1.35rem/1.2 var(--f-display);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-tab=practice] .unit > h1{display:none!important}
.unit > .px-tools{display:none}
body[data-tab=practice] .unit > .px-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding-top:10px;padding-bottom:6px}
.px-tools .px-proxy{display:contents}
.px-tbtn{font:500 .9rem/1.2 var(--f-body);color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:7px 14px;cursor:pointer}
.px-tbtn.play{background:var(--accent-soft);border-color:transparent;color:var(--accent)}
.px-tbtn.on{background:var(--accent);border-color:var(--accent);color:var(--paper)}
.px-tbtn:disabled{opacity:.5;cursor:default}
@media (max-width:600px){ body[data-tab=practice] .unit-nav .nav-title > span{font-size:1.1rem} body[data-tab=practice] .unit-nav button{max-width:30%} }
/* 🧩 Practice: the exercise shown inside fills the screen down to its bottom (tabs.js fitFrame) — little room under the subject */
body[data-tab=practice] .wrap{padding-bottom:12px}
body[data-tab=practice] section.unit{margin-bottom:0}
/* ☰ Subjects under the subject's title on a phone (app.js placeSubj) */
#allBtn.subj-in{font-size:.8rem;padding:4px 10px;height:auto;margin:0}
section.unit > #allBtn.subj-in{display:inline-flex;margin:0 0 10px}
body[data-tab=practice] .unit-nav .nav-title > #allBtn{max-width:none;background:var(--paper);border:1px solid var(--line);color:var(--ink);display:inline-flex;align-items:center;gap:5px}
/* the tabs on a phone: all four in the screen's width — the icon over its name, each tab an equal share */
@media (max-width:600px){
  body.m-bar .tabs{overflow:visible;gap:4px}
  body.m-bar .tabs button{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:1px;padding:5px 2px;border-radius:12px;font-size:.74rem;line-height:1.15;position:relative}
  body.m-bar .tabs button .t-ic{font-size:1.05rem;line-height:1.1}
  body.m-bar .tabs button .t-l{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.m-bar .tabs button .rev-n{position:absolute;top:2px;right:4px;margin:0;font-size:.62rem}
}
/* a phone: ← and → only in the subject bar (the subject's name in their tooltip), more room for the title in the middle */
@media (max-width:600px){ body.m-bar .unit-nav button.prev > span:not(.arr),body.m-bar .unit-nav button.next > span:not(.arr){display:none}
  body.m-bar .unit-nav button.prev,body.m-bar .unit-nav button.next{flex:none;max-width:none!important;width:40px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:1.1rem} }
@media (max-width:420px){ body[data-tab=practice] .unit > .px-tools{gap:6px;flex-wrap:nowrap} .px-tbtn{padding:6px 8px;font-size:.8rem;white-space:nowrap} .px-tools .nav-tr{font-size:.8rem;gap:4px} }
/* the subject shown, in the lists of subjects: a bar on its side and ◀ after it, besides its colour */
.panel-grid a.on,.side-list a.on{box-shadow:inset 3px 0 0 var(--accent)}
.panel-grid a.on::after,.side-list a.on::after{content:"◀";font-size:.7rem;margin-left:auto;color:var(--accent)}
