html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; background: #1d2128;
  font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #e8ecf1; }
#loading { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 1.6em; letter-spacing: .02em; }
#loading span { font-size: .55em; opacity: .7; margin-top: .4em; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: .6em 1em; background: #fff3c4; color: #222; z-index: 1000; }
#blazor-error-ui .reload { margin-left: .6em; }

#canvasHolder { position: fixed; inset: 0; background: #1e222a; }
#theCanvas { display: block; width: 100%; height: 100%; }

button { font: inherit; color: #e8ecf1; background: #343b47; border: 1px solid #4a5361; border-radius: 6px; padding: .35em .8em; cursor: pointer; }
button:hover { background: #3f4756; }
button:disabled { opacity: .5; cursor: default; }
button.primary { background: #2f6fd0; border-color: #2f6fd0; }
button.primary:hover { background: #3a7ce0; }
button.quiet { background: transparent; border-color: transparent; }
/* A link that looks like a button (Other versions, on the top bar). */
a.button { display: inline-block; font: inherit; color: #e8ecf1; background: #343b47; border: 1px solid #4a5361; border-radius: 6px;
  padding: .35em .8em; text-decoration: none; white-space: nowrap; }
a.button:hover { background: #3f4756; }
button.on { background: #2e6b3c; border-color: #3c8a4e; }
input, textarea { font: inherit; color: #e8ecf1; background: #262b34; border: 1px solid #4a5361; border-radius: 6px; padding: .45em .6em; box-sizing: border-box; }
input:focus, textarea:focus { outline: 2px solid #2f6fd0; outline-offset: 0; }
a { color: #8ab8ff; }
h1 { font-size: 1.5em; margin: 0 0 .3em; font-weight: 600; }
h2 { font-size: 1em; margin: 1.2em 0 .4em; color: #b9c2cf; font-weight: 600; }
h3 { font-size: 1em; margin: 0; font-weight: 600; }
.muted { color: #9aa5b4; }
.small { font-size: .85em; }
.error { color: #ff9b8a; }
.warn { color: #ffd27a; }
.row { display: flex; gap: .5em; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.spread { justify-content: space-between; }
.row input { flex: 1; min-width: 0; }
.grow { flex: 1; }

.screen { position: fixed; inset: 0; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto;
  padding: 8vh 16px 16px; box-sizing: border-box; background: rgba(20, 23, 29, .82); z-index: 10; }
.card { background: #23282f; border: 1px solid #3a424e; border-radius: 12px; padding: 1.4em 1.6em; width: min(420px, 100%);
  box-sizing: border-box; display: flex; flex-direction: column; gap: .7em; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.card.wide { width: min(760px, 100%); }
/* The home page: the list over the network of arrangements, which shows through it and takes clicks round it. */
.screen.home { pointer-events: none; background: none; padding: 70px 16px 16px; align-items: flex-end; justify-content: center; }
.screen.home > .card { pointer-events: auto; background: rgba(35, 40, 47, .84); backdrop-filter: blur(6px);
  max-height: 58vh; overflow-y: auto; }
@media (min-width: 1100px) {
  .screen.home { justify-content: flex-end; align-items: flex-start; padding: 16px; }
  .screen.home > .card { width: 520px; max-height: calc(100vh - 32px); }
}
.home-unfold { position: fixed; top: 12px; right: 12px; z-index: 10; }
.screen.home .row.spread { flex-wrap: wrap; gap: .5em; }
/* The panel's lists (2026-11-17): Arrangements and Journeys, each in parts, with a search above them. */
.screen.home h3 { font-size: .85em; margin: .5em 0 .1em; color: #8f9aa8; font-weight: 600; }
.screen.home h2 { margin-bottom: 0; }
.home-search { width: 100%; box-sizing: border-box; margin-top: .6em; }
.tour-offer { display: flex; flex-direction: column; align-items: flex-start; gap: .3em; }
.list button.more { align-self: flex-start; }
/* Bringing v1 spheres across (design 24). */
.v1import { display: flex; flex-direction: column; gap: .45em; }
.v1import > button.disclose { align-self: flex-start; padding-left: 0; }
.v1import .v1signin { display: flex; flex-direction: column; gap: .4em; }
.v1import .v1signin input { flex: 1; min-width: 10em; }
.v1import .dev { gap: .4em; align-items: center; }
.v1import .v1search { width: 100%; box-sizing: border-box; }
.v1list { max-height: 22em; overflow-y: auto; }
div.item.v1sphere { display: flex; flex-direction: column; gap: .15em; background: #2a3039; border-radius: 6px; padding: .45em .7em; flex: 1; min-width: 0; }
div.item.v1sphere .name { font-weight: 600; overflow-wrap: anywhere; }
.card label { display: flex; flex-direction: column; gap: .25em; font-size: .9em; color: #b9c2cf; }
.card .dev { border-top: 1px solid #3a424e; margin-top: .4em; padding-top: .6em; display: flex; flex-direction: column; gap: .4em; }
.list { display: flex; flex-direction: column; gap: .35em; }
button.item { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .15em; background: #2a3039; width: 100%; }
button.item .name { font-weight: 600; }
.notes { display: flex; flex-direction: column; gap: .4em; }
.note { display: flex; gap: .5em; align-items: center; background: #2c3442; border-left: 3px solid #ffd27a; padding: .5em .7em; border-radius: 6px; }
.note span { flex: 1; }

.topbar { position: fixed; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: .6em; flex-wrap: wrap;
  padding: calc(.45em + env(safe-area-inset-top, 0px)) 12px .45em; background: rgba(24, 28, 35, .85); border-bottom: 1px solid #333b47; z-index: 5; }
.topbar .title { font-weight: 600; font-size: 1.05em; }
.panel { position: fixed; right: 12px; top: 64px; width: min(340px, calc(100vw - 24px)); max-height: calc(100vh - 110px); overflow-y: auto;
  background: rgba(35, 40, 47, .96); border: 1px solid #3a424e; border-radius: 10px; padding: .9em 1em; box-sizing: border-box;
  display: flex; flex-direction: column; gap: .6em; z-index: 6; }
.panel p { margin: 0; }
.panel .thorttext { font-size: 1.1em; white-space: pre-wrap; }
.panel .member { display: flex; gap: .5em; align-items: center; }
.panel .member span:first-child { flex: 1; }
.panel .similar { border-left: 3px solid #4a5a78; padding: .2em 0 .3em .5em; margin: .2em 0; display: flex; flex-direction: column; gap: .2em; }
.panel .switches { gap: 1em; }
.panel .switches label { display: inline-flex; align-items: center; gap: .3em; cursor: pointer; }
.callout { position: fixed; left: 16px; top: 64px; width: min(360px, calc(100vw - 32px)); background: #222a36; border: 1px solid #3d4a60;
           border-radius: 10px; padding: .7em .9em; display: flex; flex-direction: column; gap: .5em; box-shadow: 0 6px 24px rgba(0,0,0,.4); z-index: 20; }
.callout.notice { border-color: #b58cf0; }
.callout.tip { border-color: #e2b960; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 1.7em; height: 1.7em; border-radius: 50%;
          border: 1.5px solid rgba(255,255,255,.9); color: #1c1c20; font-size: .75em; font-weight: 700; margin-right: .35em;
          vertical-align: middle; flex: none; }
.panel .member span.avatar { flex: none; }
.panel label.check { display: flex; gap: .5em; align-items: center; }
.panel.help ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: .45em; }
.textbox { position: fixed; transform: translate(-50%, 12px); width: min(380px, calc(100vw - 24px)); background: #23282f; border: 1px solid #4a5361;
  border-radius: 10px; padding: .7em; display: flex; flex-direction: column; gap: .5em; z-index: 8; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.textbox textarea { width: 100%; resize: vertical; font-size: 1.05em; }
.similar { display: flex; flex-direction: column; gap: .3em; }
.toast { position: fixed; bottom: 48px; left: 50%; transform: translateX(-50%); background: #2c3442; border: 1px solid #4a5361; border-radius: 8px;
  padding: .6em 1em; max-width: min(560px, calc(100vw - 24px)); z-index: 20; cursor: pointer; }
.status { position: fixed; left: 12px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); color: #7d8796; z-index: 4; pointer-events: none; }
@media (max-width: 600px) { .textbox { left: 50% !important; top: 70px !important; transform: translateX(-50%); } }
button.chip, span.chip { padding: .15em .6em; border-radius: 999px; font-size: .85em; }
input.colour { flex: 0 0 2.6em; padding: 0; height: 2em; }
/* Journeys: the list and the steps scroll; the controls under them stay in view. */
.panel.journeys { display: flex; flex-direction: column; overflow: hidden; }
.panel.journeys .journey-list { flex: none; max-height: 22vh; overflow-y: auto; }
.panel.journeys .journey-steps { flex: 1 1 auto; overflow-y: auto; min-height: 5em; }
.panel.journeys .journey-foot { flex: none; display: flex; flex-direction: column; gap: .4em; border-top: 1px solid #333b47; padding-top: .5em; }
.journey { border-top: 1px solid #333b47; padding-top: .4em; display: flex; flex-direction: column; gap: .35em; }
.journey.current > .row button.item { background: #33405a; }
.caption { position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%); max-width: min(720px, calc(100vw - 24px));
  background: rgba(20, 23, 29, .85); border: 1px solid #4a5361; border-radius: 10px; padding: .7em 1.1em; font-size: 1.15em; z-index: 7; text-align: center; }
details.assistant { border: 1px solid #3a424e; border-radius: 8px; padding: .5em .8em; }
details.assistant summary { cursor: pointer; color: #b9c2cf; }
details.assistant code { background: #1b1f26; padding: .1em .35em; border-radius: 4px; word-break: break-all; }
details.assistant code.cmd { display: block; padding: .5em; font-size: .85em; }
.panel.chat .messages { display: flex; flex-direction: column; gap: .4em; max-height: 45vh; overflow-y: auto; }
.panel.chat .msg { padding: .45em .65em; border-radius: 8px; white-space: pre-wrap; }
.panel.chat .msg.assistant { background: #2c3442; align-self: flex-start; }
.panel.chat .msg.user { background: #2f4a73; align-self: flex-end; }
.panel.chat .writeup { white-space: pre-wrap; background: #1b1f26; border: 1px solid #3a424e; border-radius: 8px; padding: .7em; max-height: 40vh; overflow-y: auto; user-select: text; }
.panel.chat code { word-break: break-all; }
.panel .member.step { cursor: grab; border-radius: 6px; }
.panel .member.step .grip { color: #6c7686; letter-spacing: -.2em; padding: 0 .2em; user-select: none; }
.panel .member.step.dragging { opacity: .4; }
.panel .member.step.drop-above { box-shadow: 0 -3px 0 #ffd27a; }
.panel .member.step.drop-below { box-shadow: 0 3px 0 #ffd27a; }
.panel form.stepedit { display: flex; flex-direction: column; gap: .35em; }
.panel form.stepedit textarea { width: 100%; resize: vertical; }
.panel button.item .desc { color: #c3cbd6; white-space: pre-wrap; }
.caption .title { font-weight: 600; }
.caption .text { font-size: .85em; margin-top: .25em; white-space: pre-wrap; color: #d5dbe3; }
.player { position: fixed; left: 50%; bottom: calc(40px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(720px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: .4em; z-index: 7; }
.player .caption { position: static; transform: none; max-width: none; }
.player .controls { display: flex; align-items: center; gap: .5em; background: rgba(20, 23, 29, .88); border: 1px solid #4a5361;
  border-radius: 10px; padding: .35em .6em; }
.player .controls span { flex: 1; }
.player .controls button { min-width: 2.4em; }
.player .timer { height: 4px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.player .timer .fill { height: 100%; background: #ffd27a; transition: width .1s linear; }
.player .timer.paused .fill { background: #8a93a1; }

/* Votes: one look everywhere, in the green the 3D view uses (Andrew, 2026-11-13: the +1s went unnoticed). */
button.vote { background: #24402e; border-color: #60cc80; color: #8fe0a8; font-weight: 600; border-radius: 999px; min-width: 3em; }
button.vote:hover { background: #2e5a3c; }
button.vote.on { background: #60cc80; color: #14201a; }
.member .item.here { display: inline-block; padding: .35em .8em; opacity: .8; }

/* A word in running text that is also a button (the top bar's "private" / "published"). */
button.linkish { background: none; border: none; padding: 0; font: inherit; color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; }
button.linkish:hover { color: #e8ecf1; }

/* The way in (2026-11-14): sign-up, the plan, archiving. */
.visit { margin: .4em 0 0; }
.visit button.quiet { padding-left: 0; text-align: left; }
.itemrow { display: flex; gap: .4em; align-items: stretch; }
.itemrow > button.item { flex: 1; }
.itemrow > button.quiet { flex: none; font-size: .85em; }
.plan { margin: .2em 0 .8em; }
.plan .name { font-weight: 600; }
.plan details.plans { margin-top: .3em; }
.plan details.plans p { margin: .35em 0; }
form.confirm { flex-wrap: wrap; align-items: center; gap: .4em; background: #2a3039; padding: .5em .7em; border-radius: 8px; margin-bottom: .8em; }
form.confirm input.code { width: 6.5em; letter-spacing: .15em; }
h2.start { margin-top: .4em; }

/* A tick box with its words (Andrew, 2026-11-14: in the sign-up form the box sat alone and the words ran one piece per
   line, as the card's labels stack their contents; the box also took the text inputs' padding and looked like a
   missing picture). The box sits at the start of the first line; the words wrap after it. */
.card label.check { display: flex; flex-direction: row; align-items: flex-start; gap: .55em; line-height: 1.4; cursor: pointer; }
.card label.check > span { flex: 1; }
input[type=checkbox] { width: 1.1em; height: 1.1em; padding: 0; margin: .15em 0 0; flex: none; accent-color: #2f6fd0; cursor: pointer; }

/* The coach (design 17): the guided tour's own pointer, the ring round what to use, and its caption. */
.coach { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); background: #222833f2;
    border: 1px solid #4a5361; border-radius: 12px; padding: .7em .9em .8em; z-index: 40; box-shadow: 0 8px 28px #0008; }
.coach.teach { border-color: #ffd54a; }
.coach .title { font-weight: 600; font-size: 1.05em; margin: .1em 0 .25em; }
.coach .text { line-height: 1.45; }
.coach .how { display: flex; align-items: center; gap: .35em; margin-top: .5em; flex-wrap: wrap; }
.coach .how .mouse { display: inline-flex; align-items: center; gap: .3em; color: #cfd6e0; margin-right: .5em; font-size: .9em; }
.coach .how .mouse .lb { fill: transparent; }
.coach .how .mouse.click .lb, .coach .how .mouse.double-click .lb, .coach .how .mouse.drag .lb { fill: #ffd54a; }
.coach .how .mouse .wheel { fill: #ffd54a; }
.coach .how .plus { color: #9aa5b4; }
.coach .praise { color: #7ee08a; margin-top: .4em; font-weight: 600; }
.coach .controls { margin-top: .6em; gap: .4em; flex-wrap: wrap; }
/* An AI assistant's consent page, and the list of connected assistants (Index.OAuth.cs). */
.card.consent ul { margin: .3em 0 .6em; padding-left: 1.2em; line-height: 1.45; }
.card.consent .row { gap: .5em; margin: .6em 0; }
ul.grants { list-style: none; padding: 0; margin: .3em 0 .6em; }
ul.grants li { display: flex; gap: .5em; align-items: center; flex-wrap: wrap; padding: .2em 0; }
/* The tutorial's choice: a question of one's own, typed into the caption. */
.coach .choose { margin-top: .6em; gap: .4em; }
.coach .choose .question { flex: 1; min-width: 0; }
.coach .error { margin-top: .35em; }
kbd { display: inline-block; min-width: 1.6em; text-align: center; padding: .12em .45em; border: 1px solid #8994a3; border-bottom-width: 3px;
    border-radius: 5px; background: #eef1f5; color: #1a1f27; font: 600 .85em/1.3 system-ui, sans-serif; }
.coach-ghost { position: fixed; z-index: 45; pointer-events: none; transition-property: left, top; transition-timing-function: ease-in-out;
    margin: -3px 0 0 -4px; filter: drop-shadow(0 2px 3px #000a); }
.coach-ghost.down svg { transform: scale(.88); transform-origin: 4px 3px; }
.coach-ghost .ripple { position: absolute; left: -14px; top: -15px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid #ffd54a;
    opacity: 0; animation: coach-ripple .55s ease-out; }
.coach-ghost .ghost-keys { position: absolute; left: 26px; top: 18px; white-space: nowrap; }
@keyframes coach-ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.coach-halo { position: fixed; z-index: 35; pointer-events: none; border: 3px solid #ffd54a; border-radius: 50%; box-shadow: 0 0 18px #ffd54a88;
    animation: coach-pulse 1.4s ease-in-out infinite; transition: left .15s, top .15s, width .15s, height .15s; }
@keyframes coach-pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.panel.help .tour-start { margin: .2em 0 .3em; }

/* The news feed (design 19). */
.feed { display: flex; flex-direction: column; gap: .25em; margin-bottom: .6em; }
.feed-item { display: flex; justify-content: space-between; gap: 1em; text-align: left; background: transparent; border: none; border-left: 3px solid #4a5361;
    border-radius: 0; padding: .3em .6em; }
.feed-item:hover { background: #2a3039; }
.feed-item.activity { border-left-color: #7ee08a; }
.feed-item.published { border-left-color: #78beff; }
.feed-item.journey { border-left-color: #ffd54a; }
.feed-item .small { flex: none; }
/* A lesson sits top left, where tips were: the foot of the screen belongs to the journey player, the text box and the tour. */
.coach.lesson { left: 16px; top: 64px; bottom: auto; transform: none; width: min(400px, calc(100vw - 32px)); }

/* One row, always: a long name gives way ("…"), not the buttons (2026-11-14: they wrapped under the tour's caption).
   On a narrow screen the "by … · published" note goes first. */
@media (min-width: 700px) {
  .topbar { flex-wrap: nowrap; }
  .topbar > .title { min-width: 4em; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar > .muted.small { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar > button, .topbar > a.button { flex: none; }
}

/* A Thort's notes (design 4.10). */
.notes-edit textarea { width: 100%; resize: vertical; }
.notes-edit .hint { opacity: .8; }
.notes-text { white-space: pre-wrap; line-height: 1.45; background: #262b34; border-left: 3px solid #e8b03c; padding: .45em .6em; border-radius: 4px; max-height: 40vh; overflow-y: auto; }

/* The private metrics page (Metrics.razor). */
.metrics table.funnel { border-collapse: collapse; width: 100%; font-size: .9em; }
.metrics table.funnel td { padding: .25em .4em; border-bottom: 1px solid #2f3540; vertical-align: top; }
.metrics table.funnel td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metrics table.funnel td.bar { width: 30%; }
.metrics table.funnel td.bar span { display: block; height: .7em; margin-top: .3em; background: #2f6fd0; border-radius: 3px; min-width: 1px; }

/* An arrangement's text as plain HTML, put in by the Cloudflare Worker for search engines (Seo.cs): readable while the
   app loads, and gone once it starts (it replaces #app). */
/* The page's content as text, for search engines and screen readers (the Worker adds it): never drawn. */
#page-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.metrics .scrollx { overflow-x: auto; }
.metrics table.people td { white-space: nowrap; }
form.confirm input.name { width: 14em; }
/* A link that looks like a button (the confirmation page's way back into Phoenix). */
a.button { display: inline-block; text-align: center; text-decoration: none; color: #e8ecf1; background: #343b47; border: 1px solid #4a5361; border-radius: 6px; padding: .45em .9em; }
a.button.primary { background: #2f6fd0; border-color: #2f6fd0; }
a.button.primary:hover { background: #3a7ce0; }
/* The copyright and patent notice (LegalFooter): quiet, at the foot of the list, the sign-in card and How to. */
footer.legal { border-top: 1px solid #3a424e; margin-top: 1.2em; padding-top: .7em; font-size: .75em; line-height: 1.45; }
footer.legal p { margin: 0 0 .3em; }
footer.legal a { color: inherit; }

/* Is it saved? (Andrew, 2026-11-17). Quiet when all is well; plain red when it isn't. */
.topbar button.save { text-decoration: none; font-size: .85em; white-space: nowrap; }
.topbar button.save.ok { color: #8fb996; }
.topbar button.save.ok::before { content: "✓ "; }
.topbar button.save.busy { color: #b9c2cf; }
.topbar button.save.bad { color: #ff8a80; font-weight: 600; }
.saveinfo { position: fixed; top: 56px; left: 12px; max-width: 26em; z-index: 42; background: #232a35; color: #dfe5ec;
            border: 1px solid #3a4454; border-radius: 10px; padding: .7em .9em; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.saveinfo p { margin: 0 0 .55em; }
@media (max-width: 600px) { .saveinfo { left: 16px; right: 16px; max-width: none; } }

/* Editing a category (v1's: background, text and #tag colours, picture). */
.catedit { border: 1px solid #3a4454; border-radius: 8px; padding: .5em; margin: .3em 0 .6em; display: flex; flex-direction: column; gap: .45em; }
.catedit label { display: inline-flex; align-items: center; gap: .3em; }
.catpreview { border-radius: 999px; padding: .9em 1em; text-align: center; font-weight: 600; border: 1px solid #3a4454; }
/* How to move round: the person's choices, in the How-to panel (2026-11-20). */
.panel.help .moving { display: flex; flex-direction: column; gap: .35em; margin: .4em 0 .2em; }
.panel.help .moving h4 { margin: 0; font-size: .95em; }
.panel.help .moving .choice { display: flex; flex-direction: column; gap: .2em; }
.panel.help .moving .chips { display: flex; flex-wrap: wrap; gap: .3em; }
/* Deleting from the archive, confirmed on the page (2026-11-20). */
.itemrow .confirm { display: inline-flex; align-items: center; gap: .35em; flex-wrap: wrap; }
button.danger { background: #8a3030; border-color: #a84242; color: #fff; }
/* The ordered list of the group in the middle, on the left (design 4.5; 2026-11-20). */
.panel.orderedlist { left: 12px; right: auto; width: min(320px, calc(100vw - 24px)); gap: .4em; }
.panel.orderedlist h3 { font-size: 1em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel.orderedlist ol.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.panel.orderedlist .lrow { display: flex; align-items: flex-start; gap: .45em; padding: .35em .45em; border-radius: 6px; cursor: pointer; }
.panel.orderedlist .lrow:hover { background: rgba(255,255,255,.06); }
.panel.orderedlist .lrow.picked { background: rgba(255,255,255,.12); }
.panel.orderedlist .lrow.editing { background: #1b2029; outline: 1px solid #ffd27a; cursor: auto; }
.panel.orderedlist .lrow .n { flex: none; min-width: 1.6em; color: #8f99a8; font-variant-numeric: tabular-nums; }
.panel.orderedlist .lrow .text { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; }
.panel.orderedlist .lrow .ring { flex: none; width: .7em; height: .7em; border-radius: 50%; border: 2px solid; margin-top: .3em; }
.panel.orderedlist .lrow textarea { flex: 1; min-height: 4.5em; resize: vertical; font: inherit; }
.panel.orderedlist .lrow.dragging { opacity: .4; }
.panel.orderedlist .lrow.drop-above { box-shadow: 0 -3px 0 #ffd27a; }
.panel.orderedlist .lrow.drop-below { box-shadow: 0 3px 0 #ffd27a; }
.panel.orderedlist .divider { border-top: 1px solid #3a424e; margin-top: .3em; padding: .3em .45em 0; }
/* On a narrow screen the panels would cover each other: a panel on the right takes the place of the list. */
@media (max-width: 760px) { .panel:not(.orderedlist) ~ .panel.orderedlist { display: none; } }
/* Below a lesson's card, a tip or a notice at the top left; on a narrow screen there is no room for both. */
.panel.orderedlist.low { top: auto; bottom: 40px; max-height: max(8em, calc(100vh - 400px)); }
@media (max-width: 760px) { .panel.orderedlist.low { display: none; } }
/* The arrangement's sphere colours, in its settings (design 30; 2026-11-21). */
.surfacepick { align-items: center; gap: .4em; flex-wrap: wrap; }
.surfacepick input[type=color] { width: 2.4em; height: 1.8em; padding: 0; border: 1px solid #3a4454; border-radius: 6px; background: none; cursor: pointer; }
