/* Lesson Portal design system (v3). Tokens first, then components.
   The look borrows from a piano: an ebony header with brass lettering, clean ivory pages, and a week of practice drawn as notes on a staff.
   The accent colour comes from the school's settings (--accent). */
@font-face { font-family: "Instrument Sans"; src: url(/fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url(/fonts/young-serif.woff2) format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --accent: #0f766e; --accent-ink: #fff;
  --ebony: #17161c; --ebony2: #25242c; --ivory: #f5f2ea; --brass: #d4ad62; --brass-deep: #8a6417;
  --bg: #f3f2ee; --card: #fff; --card2: #efede8; --ink: #1c1b22; --muted: #5f5e68; --faint: #94929b; --line: #e2dfd8;
  --good: #17804a; --good-bg: #e2f3e8; --warn: #a15f00; --warn-bg: #fbeed3; --bad: #c43a31; --bad-bg: #fbe6e3;
  --shadow: 0 1px 2px rgba(23, 22, 28, .05); --lift: 0 12px 32px -14px rgba(23, 22, 28, .28);
  --r: 16px; --r-sm: 12px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --display: "Young Serif", Georgia, "Times New Roman", serif;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --piano: #3b63e6; --guitar: #d2600c; --voice: #d0317b; --drums: #7748d6; --violin: #0b8a87; --ukulele: #a87700; --bass: #4d7c0f; --sax: #b4531a;
  --tab-h: 62px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121116; --card: #1c1b22; --card2: #27262e; --ink: #f2efe8; --muted: #aaa8b1; --faint: #77757f; --line: #322f3a;
  --good: #4fd08a; --good-bg: #15301f; --warn: #f2b44c; --warn-bg: #382a0d; --bad: #ff8076; --bad-bg: #3d1a17; --brass-deep: #d4ad62;
  --piano: #7d9bff; --guitar: #ff9a4d; --voice: #ff78b4; --drums: #a98bff; --violin: #3fd0cc; --ukulele: #e6b53c; --bass: #9ad84a; --sax: #f0975a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4); --lift: 0 14px 34px -12px rgba(0, 0, 0, .7); color-scheme: dark;
}
:root { --soft: color-mix(in srgb, var(--accent) 9%, var(--card)); --soft2: color-mix(in srgb, var(--accent) 17%, var(--card)); --accent-deep: color-mix(in srgb, var(--accent) 84%, #000); --accent-text: var(--accent); }
:root[data-theme="dark"] { --accent-text: color-mix(in srgb, var(--accent) 55%, #fff); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); min-height: 100dvh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-family: var(--display); font-size: 28px; line-height: 1.15; font-weight: 400; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 16px; line-height: 1.3; font-weight: 700; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-text); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 14px; } .tiny { font-size: 12.5px; } .bold { font-weight: 700; }
.row { display: flex; gap: var(--s3); align-items: center; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; } .between { justify-content: space-between; } .end { justify-content: flex-end; }
.stack { display: flex; flex-direction: column; gap: var(--s5); } .stack-s { display: flex; flex-direction: column; gap: var(--s2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 18px; height: 18px; } .ico.lg { width: 28px; height: 28px; }
.ico.fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }

/* ---- shell ---- */
#app { min-height: 100dvh; }
.shell { display: flex; flex-direction: column; min-height: 100dvh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s2); padding: calc(var(--safe-t) + 8px) var(--s4) 8px; background: var(--ebony); color: var(--ivory); min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--display); font-size: 18px; color: var(--ivory); text-decoration: none; }
.brand .logo { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; overflow: hidden; }
.brand .logo img { width: 100%; height: 100%; object-fit: cover; } .brand .logo .ico { width: 20px; height: 20px; }
.brand .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .actions { margin-left: auto; display: flex; gap: 6px; align-items: center; flex: none; }
.who { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px 0 12px; border-radius: 99px; border: 1px solid rgba(245, 242, 234, .22); background: rgba(245, 242, 234, .08); color: var(--ivory); font-weight: 600; font-size: 14.5px; white-space: nowrap; max-width: 52vw; }
.who:active { background: rgba(245, 242, 234, .18); } .who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; } .who .tag { font-size: 11.5px; font-weight: 700; color: var(--ebony); background: var(--brass); padding: 2px 7px; border-radius: 99px; }
.who .ico { width: 16px; height: 16px; opacity: .8; }
@media (max-width: 420px) { .topbar { padding-left: 12px; padding-right: 10px; } .brand { font-size: 16px; gap: 8px; } .brand .logo { width: 30px; height: 30px; } .who { padding: 0 8px 0 9px; gap: 6px; font-size: 14px; } .who .ico { display: none; } }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; color: var(--muted); position: relative; flex: none; }
.icon-btn:hover, .icon-btn:active { background: var(--card2); color: var(--ink); } .icon-btn[disabled] { opacity: .35; pointer-events: none; }
.body { display: flex; flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; }
.main { flex: 1; min-width: 0; padding: var(--s5) var(--s4) calc(var(--tab-h) + 40px + var(--safe-b)); outline: none; }
.page { animation: fade .2s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nav { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: flex; padding: 0 4px var(--safe-b); background: var(--card); border-top: 1px solid var(--line); }
.nav a { flex: 1; min-width: 0; min-height: var(--tab-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 600; position: relative; }
.nav a::before { content: ""; position: absolute; top: -1px; left: 26%; right: 26%; height: 3px; border-radius: 0 0 3px 3px; background: transparent; }
.nav a[aria-current="page"] { color: var(--accent-text); } .nav a[aria-current="page"]::before { background: var(--accent-text); }
.nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav .dot, .icon-btn .dot { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; line-height: 1; }
@media (min-width: 760px) {
  .topbar { padding-left: var(--s5); padding-right: var(--s5); min-height: 60px; }
  .brand { font-size: 20px; }
  .nav { position: sticky; top: 84px; align-self: flex-start; flex-direction: column; gap: 2px; left: auto; right: auto; bottom: auto; width: 196px; margin: var(--s5) 0 0 var(--s4); padding: 0; background: none; border: 0; height: fit-content; flex: none; }
  .nav a { flex: none; flex-direction: row; justify-content: flex-start; gap: var(--s3); padding: 0 var(--s3); min-height: 46px; font-size: 15px; border-radius: var(--r-sm); }
  .nav a::before { display: none; }
  .nav a:hover { background: var(--card2); color: var(--ink); }
  .nav a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); } .nav a[aria-current="page"] .ico { color: var(--accent-text); }
  .nav .dot { position: static; margin-left: auto; }
  .main { padding: var(--s5) var(--s5) var(--s6); }
  .body { align-items: flex-start; }
  h1 { font-size: 34px; }
}

/* ---- cards and basics ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); }
.card.flat { box-shadow: none; } .card.soft { background: var(--soft); border-color: transparent; }
.card h2 + .muted { margin-top: 2px; }
.sect { display: flex; align-items: baseline; justify-content: space-between; margin: var(--s5) 2px var(--s3); gap: var(--s3); }
.sect h2 { font-size: 18px; white-space: nowrap; } .sect > .small { text-align: right; } .sect:first-child { margin-top: 0; } .stack > div > .sect:first-child { margin-top: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3) var(--s4); margin-bottom: var(--s5); flex-wrap: wrap; }
.page-head p { color: var(--muted); margin-top: 4px; } .page-head .eyebrow { margin: 0 0 2px; font-size: 14.5px; }
.grid { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* stat tiles: one strip split by hairlines, not four floating cards */
.tiles { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 640px) { .tiles.t4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tiles.t3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { background: var(--card); border: 0; padding: 14px var(--s4); text-align: left; display: flex; flex-direction: column; gap: 2px; position: relative; min-height: 84px; justify-content: center; }
button.tile { cursor: pointer; transition: background .15s; } button.tile:active { background: var(--card2); }
button.tile[aria-pressed="true"] { background: var(--soft2); }
.tile .num { font-size: 29px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; } .tile .num small { font-weight: 600; letter-spacing: 0; }
.tile .lab { font-size: 13.5px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.tile > .ico { display: none; }
.tile.bad .num { color: var(--bad); } .tile.good .num { color: var(--good); }

.btn { min-height: 46px; padding: 0 var(--s5); border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); text-decoration: none; transition: transform .12s, background .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); } .btn:hover { background: var(--card2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .btn.primary:hover { background: var(--accent-deep); }
.btn.soft { background: var(--soft2); border-color: transparent; color: var(--accent-text); } .btn.soft:hover { background: color-mix(in srgb, var(--accent) 24%, var(--card)); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); } .btn.danger { color: var(--bad); }
.btn.good { background: var(--good-bg); border-color: transparent; color: var(--good); } .btn.miss { background: var(--bad-bg); border-color: transparent; color: var(--bad); }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; } .btn.lg { min-height: 54px; font-size: 17px; width: 100%; border-radius: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.chip { min-height: 40px; padding: 0 var(--s4); border-radius: 99px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .15s, border-color .15s; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips { display: flex; gap: var(--s2); overflow-x: auto; padding: 2px 2px var(--s2); margin: 0 -2px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 650; background: var(--card2); color: var(--muted); white-space: nowrap; }
.pill.good { background: var(--good-bg); color: var(--good); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); } .pill.accent { background: var(--soft2); color: var(--accent-text); }
.pill .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.k-song { background: var(--soft2); color: var(--accent-text); } .k-exercise { background: color-mix(in srgb, var(--drums) 13%, var(--card)); color: var(--drums); } .k-theory { background: var(--warn-bg); color: var(--warn); }

label.lab { display: block; font-weight: 650; font-size: 13.5px; color: var(--muted); margin: var(--s4) 0 6px; }
input[type=text], input[type=password], input[type=url], input[type=date], input[type=time], input[type=number], input[type=search], textarea, select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
textarea { resize: vertical; min-height: 88px; line-height: 1.45; }
input[type=color] { width: 44px; height: 44px; padding: 3px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; } input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; } input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }
.search { position: relative; } .search .ico { position: absolute; left: 14px; top: 15px; color: var(--faint); } .search input { padding-left: 42px; }
.bar { height: 8px; border-radius: 99px; background: var(--card2); overflow: hidden; } .bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); width: 0; transition: width .7s cubic-bezier(.2, .8, .2, 1); } .bar.good i { background: var(--good); }
.err { color: var(--bad); font-size: 14.5px; min-height: 20px; }

/* ---- avatars: the instrument gives each student a colour and an icon ---- */
.avatar { --c: var(--accent-text); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--card)); }
.avatar.lg { width: 60px; height: 60px; } .avatar.sm { width: 36px; height: 36px; } .avatar .ico { width: 24px; height: 24px; } .avatar.lg .ico { width: 30px; height: 30px; } .avatar.sm .ico { width: 19px; height: 19px; }
.i-piano { --c: var(--piano); } .i-guitar { --c: var(--guitar); } .i-voice { --c: var(--voice); } .i-drums { --c: var(--drums); } .i-violin { --c: var(--violin); } .i-ukulele { --c: var(--ukulele); } .i-bass { --c: var(--bass); } .i-sax { --c: var(--sax); }
.avatar.person { --c: var(--ink); background: var(--card2); font-weight: 700; font-size: 15px; }

/* ---- the week as a line of music: one note per day practised, higher note = longer practice ---- */
.staff { display: block; width: 100%; height: auto; overflow: visible; }
.staff .sl { stroke: color-mix(in srgb, var(--ink) 16%, transparent); stroke-width: 1; }
.staff .bl { stroke: color-mix(in srgb, var(--ink) 30%, transparent); stroke-width: 1.2; }
.staff .nh { fill: var(--accent-text); } .staff .stem { stroke: var(--accent-text); stroke-width: 1.6; stroke-linecap: round; }
.staff .rest { fill: color-mix(in srgb, var(--ink) 26%, transparent); }
.staff .open { fill: none; stroke: var(--accent-text); stroke-width: 1.5; stroke-dasharray: 2.5 2.5; }
.staff text { font: 600 9.5px var(--font); fill: var(--faint); } .staff text.now { fill: var(--ink); font-weight: 700; } .staff text.mins { fill: var(--muted); font-size: 9px; }
.staff .n { transform-box: fill-box; transform-origin: center; animation: notein .45s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes notein { from { opacity: 0; transform: translateY(6px) scale(.6); } to { opacity: 1; transform: none; } }
.hero .staff .sl { stroke: rgba(245, 242, 234, .22); } .hero .staff .bl { stroke: rgba(245, 242, 234, .4); } .hero .staff .nh { fill: var(--brass); } .hero .staff .stem { stroke: var(--brass); } .hero .staff .rest { fill: rgba(245, 242, 234, .3); } .hero .staff .open { stroke: var(--brass); } .hero .staff text { fill: rgba(245, 242, 234, .55); } .hero .staff text.now { fill: var(--ivory); } .hero .staff text.mins { fill: rgba(245, 242, 234, .75); }

/* ---- student cards (teacher dashboard) ---- */
.scard { display: block; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); cursor: pointer; transition: border-color .15s, box-shadow .15s; position: relative; color: inherit; text-decoration: none; }
.scard:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); box-shadow: var(--lift); } .scard:active { background: var(--card2); }
.scard .top { display: flex; gap: var(--s3); align-items: center; } .scard h3 { font-size: 17px; }
.scard .meta { display: flex; justify-content: space-between; gap: var(--s3); font-size: 13.5px; color: var(--muted); margin: var(--s3) 0 6px; } .scard .meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scard .staff { margin-top: var(--s3); }
.unread-dot { position: absolute; top: 14px; right: 14px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--bad); color: #fff; font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.scard .stat-row { display: flex; gap: var(--s4); font-size: 13.5px; color: var(--muted); margin-top: var(--s2); flex-wrap: wrap; align-items: center; } .scard .stat-row b { color: var(--ink); } .scard .stat-row span { display: inline-flex; align-items: center; gap: 4px; }
.status { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; white-space: nowrap; } .status.good { background: var(--good-bg); color: var(--good); } .status.warn { background: var(--warn-bg); color: var(--warn); } .status.bad { background: var(--bad-bg); color: var(--bad); }
.week7, .days { display: none; }

/* ---- checklist ---- */
.item { display: flex; gap: var(--s3); padding: var(--s4); border-bottom: 1px solid var(--line); } .item:last-child { border-bottom: 0; }
.check { width: 44px; height: 44px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 30%, var(--card)); background: var(--card); display: grid; place-items: center; flex: none; color: transparent; transition: background .2s, border-color .2s; padding: 0; }
.check:active { transform: scale(.92); } .check.on { background: var(--good); border-color: var(--good); color: #fff; animation: pop .35s ease; } .check[disabled] { cursor: default; opacity: .9; }
span.check { width: 30px; height: 30px; border-width: 1.5px; } span.check .ico { width: 16px; height: 16px; }
.check .ico { width: 22px; height: 22px; stroke-width: 3; }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.item .t { font-weight: 650; font-size: 17px; line-height: 1.3; } .item.done .t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.item .n { color: var(--muted); font-size: 15px; margin-top: 4px; }
.links { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s3); }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--s3); border-radius: 10px; background: var(--card2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; border: 0; }
.linkbtn:active { background: var(--soft2); }
.tnote { margin-top: var(--s3); padding: 10px var(--s3) 10px 14px; border-radius: 4px 12px 12px 4px; background: var(--soft); border-left: 3px solid var(--accent-text); font-size: 15px; } .tnote .by { font-size: 12.5px; font-weight: 700; color: var(--accent-text); margin-bottom: 2px; }
.tnote.mine { background: var(--card2); border-left-color: var(--faint); } .tnote.mine .by { color: var(--muted); }
.saidnote { margin-top: var(--s2); font-size: 15px; color: var(--muted); }

/* ---- ring and hero ---- */
.ring { position: relative; flex: none; display: grid; place-items: center; } .ring svg { transform: rotate(-90deg); } .ring .c { position: absolute; text-align: center; line-height: 1.1; }
.ring .bgc { stroke: var(--card2); } .ring .fg { stroke: var(--accent); transition: stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1); stroke-linecap: round; }
.ring .c b { font-size: 21px; font-weight: 700; letter-spacing: -.01em; display: block; } .ring .c span { font-size: 12px; color: var(--muted); font-weight: 600; }
.hero { background: var(--ebony); color: var(--ivory); border-radius: 20px; padding: var(--s5) var(--s4) var(--s4); position: relative; }
.hero .ring .bgc { stroke: rgba(245, 242, 234, .16); } .hero .ring .fg { stroke: var(--brass); } .hero .ring .c span { color: rgba(245, 242, 234, .7); }
.hero .bar { background: rgba(245, 242, 234, .16); } .hero .bar i { background: var(--brass); }
.hero .btn.primary { background: var(--brass); color: var(--ebony); border-color: var(--brass); } .hero .btn.primary:hover { background: #e0bd78; }
.hero .muted { color: rgba(245, 242, 234, .68); }
.hero h1 { font-size: 27px; } .hero h3 { font-size: 18px; }
.hero .weekbox { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(245, 242, 234, .14); } .hero .weekbox .staff { max-width: 440px; }
.flame { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 99px; background: rgba(245, 242, 234, .12); font-weight: 650; font-size: 14px; white-space: nowrap; } .flame .ico { color: var(--brass); }
.flame.dark { background: var(--warn-bg); color: var(--warn); }
.celebrate { background: var(--good-bg); color: var(--good); border-radius: var(--r-sm); padding: var(--s3) var(--s4); font-weight: 650; display: flex; align-items: center; gap: var(--s3); animation: rise .4s ease both; }
@media (min-width: 760px) { .hero { padding: var(--s6) var(--s5) var(--s5); } .hero h1 { font-size: 32px; } }

/* two columns on wide screens (student / parent home) */
.cols { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1040px) { .cols { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }

/* ---- charts ---- */
.chart { width: 100%; display: block; overflow: visible; } .chart text { font: 600 9.5px var(--font); fill: var(--faint); } .chart .gl { stroke: var(--line); stroke-width: 1; } .chart .goal { stroke: var(--good); stroke-dasharray: 4 4; stroke-width: 1.5; }
.chart rect.b { fill: color-mix(in srgb, var(--accent-text) 45%, var(--card)); transform-box: fill-box; transform-origin: bottom; animation: grow .7s cubic-bezier(.2, .8, .2, 1) both; } .chart rect.b.cur { fill: var(--accent-text); } .chart rect.b.alt { fill: color-mix(in srgb, var(--ink) 30%, var(--card)); } .chart rect.b.alt.cur { fill: var(--ink); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.chart .ln { fill: none; stroke: var(--accent-text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1.2s ease forwards; } .chart .ar { fill: var(--accent-text); opacity: .1; } .chart .pt { fill: var(--card); stroke: var(--accent-text); stroke-width: 2; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.heat { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; } .heat i { aspect-ratio: 1; border-radius: 5px; background: var(--card2); } .heat i.l1 { background: color-mix(in srgb, var(--accent-text) 30%, var(--card2)); } .heat i.l2 { background: color-mix(in srgb, var(--accent-text) 60%, var(--card2)); } .heat i.l3 { background: var(--accent-text); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); } .ba > div { background: var(--card2); border-radius: var(--r-sm); padding: var(--s3) var(--s4); } .ba > div.after { background: var(--soft2); } .ba b { font-weight: 700; letter-spacing: -.01em; font-size: 22px; display: block; line-height: 1.2; margin-top: 6px; } .ba span { font-size: 13px; color: var(--muted); } .ba .lbl { font-size: 13px; font-weight: 700; color: var(--muted); } .ba br { display: none; } .ba span { display: block; }
.delta { font-family: var(--font); font-weight: 700; color: var(--good); font-size: 13.5px; display: inline !important; } .delta.neg { color: var(--bad); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); } .kv b { font-weight: 700; letter-spacing: -.01em; font-size: 21px; display: block; line-height: 1.2; } .kv span { font-size: 13.5px; color: var(--muted); }

/* ---- messages ---- */
.thread { display: flex; flex-direction: column; gap: 6px; padding: var(--s2) 0; max-height: 56vh; overflow-y: auto; }
.msg { max-width: 82%; padding: 9px 14px; border-radius: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 5px; } .msg.them { align-self: flex-start; background: var(--card2); border-bottom-left-radius: 5px; }
.msg time { display: block; font-size: 11px; opacity: .7; margin-top: 2px; }
.daysep { align-self: center; font-size: 12px; color: var(--faint); font-weight: 600; margin: 8px 0 2px; }
.composer { display: flex; gap: var(--s2); align-items: flex-end; margin-top: var(--s3); } .composer textarea { min-height: 48px; max-height: 120px; flex: 1; border-radius: 24px; padding: 12px 18px; }
.composer .btn { width: 48px; min-width: 48px; padding: 0; border-radius: 50%; }
.trow { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); border: 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; width: 100%; background: none; text-align: left; min-height: 64px; } .trow:last-child { border-bottom: 0; } button.trow:active, a.trow:active { background: var(--card2); }
.trow .pv { color: var(--muted); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow.unread .pv { color: var(--ink); font-weight: 650; }
.trow > .ico:last-child { color: var(--faint); }
.listcard { padding: 0; overflow: hidden; }

/* ---- lessons / calendar ---- */
.lesson { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); border: 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; background: none; color: inherit; flex-wrap: wrap; text-decoration: none; } .lesson:last-child { border-bottom: 0; } button.lesson:active, a.lesson:active { background: var(--card2); }
.lesson > .ico:last-child { color: var(--faint); }
.lesson .acts { display: flex; gap: 6px; flex: none; } .lesson .acts .btn { min-height: 40px; padding: 0 12px; }
.lesson > a.row.grow { min-width: 190px; } [data-today] { container-type: inline-size; }
@container (max-width: 479px) { .lesson .acts { width: 100%; padding-left: 70px; } .lesson .acts .btn { flex: 1; min-width: 0; padding: 0 8px; } }
@container (max-width: 359px) { .lesson .acts { padding-left: 0; } }
.datebox { width: 54px; height: 56px; border-radius: 12px; background: var(--card2); color: var(--ink); display: grid; place-items: center; text-align: center; line-height: 1.05; flex: none; align-content: center; } .datebox b { font-weight: 700; font-size: 20px; letter-spacing: -.01em; display: block; } .datebox span { font-size: 11.5px; font-weight: 650; color: var(--muted); }
.datebox.today { background: var(--accent); color: var(--accent-ink); } .datebox.today span { color: inherit; opacity: .85; }
.datebox.time b { font-size: 15px; letter-spacing: 0; } .datebox.time { width: 58px; }
.weekgrid { display: grid; gap: var(--s3); } @media (min-width: 1040px) { .weekgrid { grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start; gap: var(--s2); } } @media (min-width: 640px) and (max-width: 1039px) { .weekgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.daycol { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); min-height: 84px; } .daycol.today { border-color: var(--accent-text); box-shadow: inset 0 3px 0 var(--accent-text); } .daycol h4 { font-size: 13.5px; color: var(--muted); font-weight: 700; margin-bottom: var(--s2); } .daycol.today h4 { color: var(--ink); }
.lchip { display: flex; gap: var(--s2); align-items: center; width: 100%; text-align: left; padding: 8px 10px; min-height: 48px; border-radius: 4px 10px 10px 4px; background: var(--card2); border: 0; margin-bottom: 6px; border-left: 3px solid var(--c, var(--accent-text)); font-size: 14px; } .lchip b { display: block; font-size: 13.5px; } .lchip:last-child { margin-bottom: 0; }
.lchip .muted { display: block; }

/* ---- sheets, toasts, misc ---- */
.scrim { position: fixed; inset: 0; background: rgba(15, 14, 20, .55); z-index: 60; animation: fade .2s ease both; }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow-y: auto; background: var(--card); border-radius: 22px 22px 0 0; padding: var(--s3) var(--s4) calc(var(--s5) + var(--safe-b)); animation: slide .28s cubic-bezier(.2, .8, .2, 1) both; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); overscroll-behavior: contain; }
@keyframes slide { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet .grab { width: 40px; height: 4px; border-radius: 3px; background: var(--line); margin: 0 auto var(--s3); }
.sheet .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); gap: var(--s3); } .sheet .head h2 { font-family: var(--display); font-weight: 400; font-size: 23px; }
@media (min-width: 700px) { .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: min(600px, 94vw); border-radius: 22px; transform: translate(-50%, -50%); animation: fade .22s ease both; max-height: 88dvh; padding: var(--s5); } .sheet .grab { display: none; } }
#toast { position: fixed; z-index: 90; left: 50%; top: calc(var(--safe-t) + 68px); transform: translate(-50%, -12px); background: var(--ebony); color: var(--ivory); padding: 11px 18px; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 90vw; text-align: center; box-shadow: var(--lift); } #toast.show { opacity: 1; transform: translate(-50%, 0); } #toast.bad { background: var(--bad); color: #fff; }
.empty { text-align: center; padding: var(--s6) var(--s4); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: var(--s3); } .empty .ring-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--card2); color: var(--muted); display: grid; place-items: center; } .empty h3 { color: var(--ink); font-size: 18px; } .empty p { max-width: 34ch; }
.skel { border-radius: var(--r); background: linear-gradient(90deg, var(--card2) 25%, var(--card) 50%, var(--card2) 75%); background-size: 200% 100%; animation: shim 1.3s linear infinite; } @keyframes shim { to { background-position: -200% 0; } }
.soon { display: flex; gap: var(--s3); align-items: center; padding: var(--s4); border: 1.5px dashed var(--line); border-radius: var(--r); } .soon .ring-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--card2); color: var(--muted); display: grid; place-items: center; flex: none; } .soon h3 { font-size: 15.5px; } .soon p { font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: #e2a012; } .stars .ico { width: 17px; height: 17px; fill: none; stroke-width: 1.8; } .stars .ico.on { fill: currentColor; }
.starpick { display: inline-flex; gap: 0; } .starbtn { background: none; border: 0; padding: 2px; color: #e2a012; min-width: 44px; min-height: 44px; display: grid; place-items: center; } .starbtn .ico { width: 28px; height: 28px; } .starbtn .ico.on { fill: currentColor; }
.acc summary { list-style: none; cursor: pointer; } .acc summary::-webkit-details-marker { display: none; } .acc[open] > summary .chev { transform: rotate(90deg); } .chev { transition: transform .2s; color: var(--faint); display: grid; }
.tabs { display: flex; gap: 2px; overflow-x: auto; margin: 0 calc(var(--s4) * -1) var(--s4); padding: 0 var(--s4); border-bottom: 1px solid var(--line); scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: 0 0 auto; min-height: 46px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--muted); font-weight: 650; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; } .tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent-text); } .tabs a .ico { display: none; } .tabs .dot { background: var(--bad); color: #fff; border-radius: 9px; font-size: 11px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.player { display: inline-flex; align-items: center; gap: var(--s3); padding: 5px 14px 5px 5px; border-radius: 99px; background: var(--card2); min-width: 200px; max-width: 100%; } .player button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; } .player button .ico { width: 18px; height: 18px; } .player .pb { flex: 1; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 14%, transparent); overflow: hidden; } .player .pb i { display: block; height: 100%; width: 0; background: var(--ink); } .player small { color: var(--muted); font-weight: 650; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tnote .player { background: var(--card); }
.rec { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; margin-top: var(--s2); } .rec .live { display: inline-flex; align-items: center; gap: 8px; color: var(--bad); font-weight: 700; } .rec .live i { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); animation: blink 1s infinite; } @keyframes blink { 50% { opacity: .25; } }
.seg { display: flex; background: var(--card2); border-radius: 12px; padding: 3px; gap: 3px; } .seg button { flex: 1; min-height: 40px; border: 0; background: transparent; border-radius: 9px; font-weight: 650; font-size: 14px; color: var(--muted); } .seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.seg.att button[aria-pressed="true"][data-st="attended"] { background: var(--good); color: #fff; box-shadow: none; } .seg.att button[aria-pressed="true"][data-st="missed"] { background: var(--bad); color: #fff; box-shadow: none; }
.mult { display: flex; flex-direction: column; gap: 6px; max-height: 40vh; overflow-y: auto; } .mult label { display: flex; align-items: center; gap: var(--s3); min-height: 52px; padding: 0 var(--s3); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; } .mult input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.editor-item { border: 1px solid var(--line); border-radius: 14px; padding: var(--s3); background: var(--bg); }
.tl { position: relative; padding-left: 22px; } .tl::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1.5px; background: var(--line); } .tl .ev { position: relative; padding: 0 0 var(--s4); } .tl .ev:last-child { padding-bottom: 0; } .tl .ev::before { content: ""; position: absolute; left: -21px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent-text); border: 3px solid var(--card); } .tl .ev.song::before { background: var(--good); } .tl .ev.feedback::before { background: #e2a012; } .tl .ev.lesson::before { background: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line); } .swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.verlink { font-size: 12.5px; color: var(--faint); text-align: center; margin-top: var(--s5); }
.dtable { width: 100%; border-collapse: collapse; font-size: 14.5px; } .dtable th { text-align: left; font-size: 12.5px; color: var(--faint); padding: 8px 10px; } .dtable td { padding: 10px; border-top: 1px solid var(--line); } .scroll-x { overflow-x: auto; }
.hint { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin: 0 2px var(--s3); } .hint .staff { width: 44px; flex: none; }
.banner { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); } .banner.warn { background: var(--warn-bg); border-color: transparent; color: var(--warn); } .banner .ico { flex: none; }
.offline-bar { background: var(--warn-bg); color: var(--warn); text-align: center; font-size: 13.5px; font-weight: 650; padding: 6px; }

/* ---- the guided tour bar ---- */
.tour { position: fixed; z-index: 40; left: 8px; right: 8px; bottom: calc(var(--tab-h) + var(--safe-b) + 8px); background: var(--ebony); color: var(--ivory); border-radius: 16px; padding: 12px 14px; box-shadow: var(--lift); border: 1px solid rgba(245, 242, 234, .14); animation: rise .3s ease both; }
.tour .steps { display: flex; gap: 4px; margin-bottom: 8px; align-items: center; } .tour .steps i { height: 3px; flex: 1; border-radius: 2px; background: rgba(245, 242, 234, .2); } .tour .steps i.on { background: var(--brass); }
.tour .steps button { margin: -8px -8px -8px 6px; color: rgba(245, 242, 234, .7); width: 36px; height: 36px; } .tour .steps button:hover, .tour .steps button:active { background: rgba(245, 242, 234, .12); color: var(--ivory); }
.tour h3 { font-family: var(--display); font-weight: 400; font-size: 17px; } .tour p { font-size: 14.5px; line-height: 1.4; color: rgba(245, 242, 234, .82); margin-top: 2px; }
.tour .row { margin-top: 10px; gap: 8px; } .tour .count { font-size: 13px; color: rgba(245, 242, 234, .6); font-weight: 600; margin-right: auto; }
.tour .btn { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; } .tour .btn.back { background: transparent; border-color: rgba(245, 242, 234, .25); color: var(--ivory); } .tour .btn.next { background: var(--brass); border-color: var(--brass); color: var(--ebony); }
html.tour-on .main { padding-bottom: calc(var(--tab-h) + 220px + var(--safe-b)); }
@media (min-width: 760px) { .tour { left: auto; right: 20px; bottom: 20px; width: 400px; padding: 16px 18px; } html.tour-on .main { padding-bottom: 220px; } }

/* ---- start screen: the piano's fallboard ---- */
.start { min-height: 100dvh; background: var(--ebony); color: var(--ivory); padding: calc(var(--safe-t) + var(--s5)) var(--s4) calc(var(--safe-b) + var(--s5)); display: grid; }
.start-in { width: min(1040px, 100%); margin: 0 auto; display: grid; gap: var(--s5); align-content: start; }
.wordmark { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 20px; color: var(--brass); }
.wordmark .logo { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; overflow: hidden; flex: none; } .wordmark .logo img { width: 100%; height: 100%; object-fit: cover; }
.wordlogo img { display: block; height: 72px; width: auto; max-width: 100%; border-radius: 12px; }
@media (min-width: 820px) { .wordlogo img { height: 92px; } }
.start h1 { font-size: clamp(31px, 8.4vw, 50px); line-height: 1.08; max-width: 14ch; }
.start .lede { color: rgba(245, 242, 234, .74); font-size: 17px; line-height: 1.5; max-width: 40ch; margin-top: var(--s3); }
.start .staff-art { width: 100%; max-width: 440px; height: auto; display: block; margin-top: var(--s5); overflow: visible; }
.staff-art .sl { stroke: rgba(245, 242, 234, .2); stroke-width: 1; } .staff-art .nh { fill: var(--brass); } .staff-art .stem { stroke: var(--brass); stroke-width: 1.8; stroke-linecap: round; } .staff-art .bl { stroke: rgba(245, 242, 234, .35); stroke-width: 1.4; }
.staff-art .n { transform-box: fill-box; transform-origin: center; animation: notein .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.tourbtn { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; min-height: 68px; padding: 12px 18px; border-radius: 16px; border: 0; background: var(--brass); color: var(--ebony); transition: transform .12s, background .15s; }
.tourbtn:active { transform: scale(.98); } .tourbtn:hover { background: #e0bd78; } .tourbtn b { display: block; font-size: 17.5px; font-weight: 700; } .tourbtn span { font-size: 14px; opacity: .8; } .tourbtn > .ico { margin-left: auto; }
.tourbtn .play { width: 40px; height: 40px; border-radius: 50%; background: var(--ebony); color: var(--brass); display: grid; place-items: center; flex: none; } .tourbtn .play .ico { width: 18px; height: 18px; margin-left: 2px; }
.keys-lab { font-size: 14px; font-weight: 600; color: rgba(245, 242, 234, .6); margin: var(--s5) 2px var(--s2); }
/* four ivory keys, one per role */
.keys { display: grid; gap: 3px; border-radius: 16px; overflow: hidden; }
.key { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; min-height: 68px; padding: 10px 14px 10px 16px; border: 0; background: var(--ivory); color: var(--ebony); transition: background .12s, transform .12s; }
.key:hover { background: #fff; } .key:active { background: #e6e1d4; transform: translateY(1px); } .key[disabled] { opacity: .6; }
.key .avatar { --c: var(--ebony); background: rgba(23, 22, 28, .08); width: 42px; height: 42px; } .key b { display: block; font-size: 17px; font-weight: 700; line-height: 1.25; } .key span.d { font-size: 14px; color: #5f5e68; line-height: 1.3; display: block; } .key > .ico { margin-left: auto; color: #94929b; }
.start .fine { font-size: 13px; color: rgba(245, 242, 234, .5); margin-top: var(--s4); }
.start details.signin { margin-top: var(--s4); border-top: 1px solid rgba(245, 242, 234, .14); padding-top: var(--s2); }
.start details.signin > summary { cursor: pointer; font-weight: 600; font-size: 15px; min-height: 44px; display: flex; align-items: center; gap: 8px; color: rgba(245, 242, 234, .8); list-style: none; } .start details.signin > summary::-webkit-details-marker { display: none; } .start details.signin[open] > summary .ico { transform: rotate(90deg); } .start details.signin > summary .ico { transition: transform .2s; }
.start form.card { color: var(--ink); margin-top: var(--s2); padding: var(--s4) var(--s4) var(--s5); } .start form.card label.lab:first-of-type { margin-top: 0; }
.start form details { margin-top: var(--s4); font-size: 14px; color: var(--muted); } .start form details summary { cursor: pointer; font-weight: 650; min-height: 40px; display: flex; align-items: center; }
.demo-list { display: grid; gap: 6px; margin-top: var(--s2); } .demo-list button { text-align: left; background: var(--card2); border: 0; border-radius: 10px; padding: 10px 14px; min-height: 44px; font-weight: 600; } .demo-list small { color: var(--muted); font-weight: 500; }
@media (min-width: 820px) {
  .start { padding: var(--s6); align-items: center; }
  .start-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .start .lede { font-size: 18px; }
  .keys-lab { margin-top: var(--s4); }
}

/* ---- demo / account sheet ---- */
.whoami { display: flex; gap: 12px; align-items: center; padding: var(--s3) var(--s4); background: var(--card2); border-radius: var(--r-sm); margin-bottom: var(--s4); }
.rolelist { display: grid; gap: 6px; } .rolelist .btn { justify-content: flex-start; min-height: 56px; gap: 12px; padding: 0 14px; text-align: left; white-space: normal; } .rolelist .btn[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } .rolelist .btn b { display: block; line-height: 1.2; } .rolelist .btn small { color: var(--muted); font-weight: 500; font-size: 13.5px; } .rolelist .btn > .ico { margin-left: auto; color: var(--faint); }
.sheet .sub { font-size: 13.5px; font-weight: 650; color: var(--muted); margin: var(--s4) 2px var(--s2); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; } }
