:root {
  color-scheme: light;
  font-family: Inter, "Aptos", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  --background: #fbfaf8;
  --paper: #fff;
  --ink: #242336;
  --secondary: #555368;
  --muted: #6b697a;
  --border: #e9e6ed;
  --accent: #5b3db4;
  --accent-deep: #4b2f9d;
  --accent-faint: #f1ebff;
  --good: #236c51;
  --good-bg: #eaf6ee;
  --header: 4rem;
  --sidebar: 16.5rem;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 20rem; }
body { margin: 0; background: var(--background); color: var(--ink); line-height: 1.5; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
:is(a, button, input, textarea, summary):focus-visible { outline: 2px solid #795ad6; outline-offset: 3px; }
[hidden] { display: none !important; }
.icon-library { position: absolute; overflow: hidden; width: 0; height: 0; }
.icon { width: 1.125rem; height: 1.125rem; display: inline-block; flex: 0 0 auto; color: inherit; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 10; transform: translateY(-130%); padding: .6rem .9rem; background: var(--paper); color: var(--accent); }
.skip-link:focus { transform: translateY(.3rem); }

.topbar { height: var(--header); position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0 1.75rem; background: var(--paper); border-bottom: 1px solid var(--border); }
.topbar-start, .topbar-actions, .header-course { display: flex; align-items: center; }
.topbar-start, .header-course { gap: 1.25rem; min-width: 0; }
.topbar-actions { gap: .55rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: .65rem; text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: .65rem; background: #5b3eba; color: #fff; box-shadow: inset 0 0 0 1px #45278b28; }
.brand-mark .icon { width: 1.3rem; height: 1.3rem; stroke-width: 2; }
.brand-wordmark { white-space: nowrap; font-size: 1.04rem; letter-spacing: -.035em; font-weight: 720; }
.brand-wordmark strong { color: var(--accent); font-weight: 750; }
.header-divider { background: var(--border); height: 1.4rem; width: 1px; }
#header-course-name { color: var(--muted); font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; min-height: 2.45rem; border: 1px solid transparent; border-radius: .5rem; padding: .42rem .72rem; font-size: .875rem; text-decoration: none; white-space: nowrap; font-weight: 650; line-height: 1.3; }
.button-quiet { color: var(--secondary); background: transparent; }
.button-quiet:hover { color: var(--accent); background: var(--accent-faint); }
.button-account { background: var(--accent-faint); color: var(--accent-deep); }
.button-account:hover { background: #eae0ff; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-deep); }
.button-bordered { color: var(--secondary); border-color: var(--border); background: var(--paper); }
.button-bordered:hover { color: var(--accent); border-color: #cfc1ee; }
.button-small { min-height: 2.1rem; padding: .31rem .58rem; }
.icon-button { width: 2.15rem; height: 2.15rem; flex: 0 0 auto; display: grid; place-items: center; padding: 0; color: inherit; background: transparent; border: 0; border-radius: .42rem; }
.icon-button:hover { background: #eae6f2; color: var(--accent); }
.menu-button { display: none; }
.account-label { max-width: 10rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.layout { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); align-items: start; min-height: calc(100vh - var(--header)); }
.course-sidebar { position: sticky; top: var(--header); height: calc(100dvh - var(--header)); background: #f7f6f3; border-right: 1px solid var(--border); overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; }
.sidebar-inner { padding: 1.55rem 1.05rem 1.2rem; }
.sidebar-heading { display: flex; align-items: center; gap: .65rem; margin: 0 .32rem .9rem; }
.sidebar-course-icon { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; flex: 0 0 auto; color: var(--accent); background: #ede6fc; border-radius: .6rem; }
.sidebar-heading strong { display: block; font-size: .95rem; font-weight: 750; letter-spacing: -.02em; }
.sidebar-heading span:not(.sidebar-course-icon) { display: block; font-size: .79rem; color: var(--muted); margin-top: .03rem; }
.course-progress { margin: 0 .34rem 1.45rem; }
.progress-caption { display: flex; justify-content: space-between; font-size: .78rem; color: var(--secondary); margin-bottom: .42rem; font-weight: 550; }
.progress-caption strong { color: var(--accent-deep); }
.progress-meter { display: block; width: 100%; height: .33rem; border: 0; border-radius: 10rem; overflow: hidden; appearance: none; background: #e6e0eb; color: var(--accent); }
.progress-meter::-webkit-progress-bar { background: #e6e0eb; border-radius: 10rem; }
.progress-meter::-webkit-progress-value { background: var(--accent); border-radius: 10rem; transition: width .2s; }
.progress-meter::-moz-progress-bar { background: var(--accent); border-radius: 10rem; }
.chapter-list { display: grid; gap: .25rem; margin-top: .35rem; }
.chapter-toggle { width: 100%; display: flex; align-items: center; gap: .62rem; padding: .58rem .48rem; background: transparent; color: var(--secondary); border: 0; border-radius: .48rem; text-align: left; font-size: .875rem; font-weight: 690; line-height: 1.3; }
.chapter-toggle:hover { background: #efecf1; color: var(--ink); }
.chapter-toggle[aria-expanded="true"] { color: var(--ink); }
.chapter-count { margin-left: auto; flex: 0 0 auto; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; font-weight: 500; }
.chapter-chevron { width: .81rem; height: .81rem; color: #726d82; transition: transform .15s; }
.chapter-toggle[aria-expanded="true"] .chapter-chevron { transform: rotate(90deg); }
.chapter-lessons { display: grid; gap: .15rem; list-style: none; margin: .08rem 0 .23rem .83rem; padding: .15rem 0 .16rem .65rem; border-left: 1px solid #ded8e6; }
.lesson-link { display: flex; align-items: center; width: 100%; gap: .51rem; padding: .43rem .52rem; min-height: 2.125rem; border-radius: .4rem; color: var(--secondary); text-decoration: none; font-size: .84rem; line-height: 1.24; }
.lesson-link:hover { color: var(--accent); background: #efecf5; }
.lesson-link[aria-current="page"] { color: var(--accent-deep); background: #ece5fb; font-weight: 700; }
.lesson-indicator { width: .52rem; height: .52rem; border-radius: 50%; flex: 0 0 auto; border: 1px solid #a29bb1; }
.lesson-link[aria-current="page"] .lesson-indicator { border-color: var(--accent); background: var(--accent); }
.lesson-link .indicator-done { width: .71rem; height: .71rem; color: var(--good); margin-left: -.08rem; margin-right: -.1rem; stroke-width: 2.4; }
.sidebar-footer { margin: 1.05rem .35rem 0; padding-top: .85rem; border-top: 1px solid #e6e1e8; font-size: .78rem; color: var(--muted); }

.main { min-width: 0; padding: 2.15rem clamp(1.35rem, 3vw, 3.2rem) 2.5rem; }
.lesson-layout { max-width: 95rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); gap: clamp(1.5rem, 3vw, 3.2rem); align-items: start; }
.lesson-body { min-width: 0; scroll-margin-top: 6rem; }
.lesson-body:focus { outline: 0; }
.lesson-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .7rem; min-height: 1.8rem; margin-bottom: .75rem; color: var(--muted); font-size: .81rem; }
.chapter-label, .lesson-time, .lesson-complete { display: inline-flex; gap: .35rem; align-items: center; }
.chapter-label { color: var(--accent-deep); font-weight: 720; }
.lesson-meta .icon { width: .9rem; height: .9rem; }
.meta-separator { width: .2rem; height: .2rem; background: #b1acbb; border-radius: 50%; }
.lesson-complete { color: var(--good); font-weight: 650; }
.lesson-title { margin: 0 0 .87rem; font-size: clamp(2rem, 3.1vw, 3.05rem); line-height: 1.04; font-weight: 780; letter-spacing: -.055em; text-wrap: balance; }
.lesson-intro { margin: 0; color: var(--secondary); font-size: 1.075rem; line-height: 1.62; letter-spacing: -.012em; }
.lesson-sections { margin: 1.47rem 0 0; }
.lesson-section + .lesson-section { margin-top: 1.45rem; }
.lesson-section h2, .task-copy h2 { font-size: 1.03rem; font-weight: 740; letter-spacing: -.02em; margin: 0 0 .35rem; line-height: 1.35; }
.lesson-section p, .task-copy p { margin: 0; line-height: 1.66; font-size: 1rem; color: var(--secondary); }
.lesson-section p + p, .task-copy p + p { margin-top: .55rem; }
.inline-code { font-family: var(--mono); background: #efeaf6; color: #4c3583; padding: .05em .28em; border-radius: .22em; font-size: .86em; overflow-wrap: anywhere; }
.snippet { margin: .75rem 0 0; padding: .8rem .9rem; border: 1px solid #e7e2ed; border-radius: .53rem; background: #f4f1f8; color: #302744; overflow: auto; font: .855rem/1.62 var(--mono); tab-size: 4; }
.snippet code { font: inherit; }
.snippet .token-comment { color: #646079; }
.snippet .token-keyword { color: #6540b0; font-weight: 650; }
.snippet .token-string { color: #266846; }
.snippet .token-number { color: #80511d; }
.snippet .token-builtin { color: #4f469d; }
.task { display: flex; align-items: flex-start; gap: .75rem; margin: 1.65rem 0 0; padding: 1rem 1rem .98rem; background: #f2edfc; border: 1px solid #e7def8; border-radius: .72rem; }
.task-icon { display: grid; place-items: center; width: 1.88rem; height: 1.88rem; border-radius: .46rem; background: #e6d9fb; color: var(--accent-deep); flex: 0 0 auto; }
.task-icon .icon { width: 1.025rem; height: 1.025rem; }
.task-copy { min-width: 0; }
.task-copy h2 { margin-top: .16rem; }
.lesson-help { margin-top: 1.02rem; }
.help-toggle { display: inline-flex; gap: .42rem; align-items: center; color: var(--accent-deep); background: transparent; border: 0; padding: .43rem .05rem; font-size: .875rem; font-weight: 680; border-radius: .3rem; }
.help-toggle:hover { color: #371c80; text-decoration: underline; text-underline-offset: .15rem; }
.help-toggle .icon { width: 1rem; height: 1rem; }
.help-panel { margin: .4rem 0 0; border: 1px solid var(--border); border-radius: .55rem; background: var(--paper); padding: .8rem; }
.help-panel ol { padding-left: 1.4rem; margin: 0 0 .55rem; color: var(--secondary); }
.help-panel li + li { margin-top: .45rem; }
.help-panel .solution-label { font-size: .88rem; font-weight: 700; margin: .4rem 0 .22rem; }
.lesson-navigation { margin-top: 1.65rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }

.workspace { min-width: 0; position: sticky; top: calc(var(--header) + 1.45rem); }
.workspace-heading { height: 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--secondary); font-size: .815rem; margin: 0 0 .63rem; }
.workspace-heading strong { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; color: var(--ink); font-weight: 710; letter-spacing: -.015em; }
.workspace-heading strong .icon { color: var(--accent); width: 1.05rem; height: 1.05rem; }
.workspace-label { color: var(--muted); font-size: .78rem; }
.workspace-shell { overflow: hidden; border-radius: .8rem; background: #1d1c29; border: 1px solid #282638; color: #e6e2f2; box-shadow: 0 10px 25px #29213716; }
.editor-heading { display: flex; align-items: center; gap: .45rem; justify-content: space-between; min-height: 2.87rem; border-bottom: 1px solid #343246; background: #252437; padding: 0 .68rem 0 .68rem; }
.editor-files { display: flex; gap: .37rem; align-items: center; overflow-x: auto; scrollbar-width: thin; min-width: 0; }
.file-tab { display: inline-flex; align-items: center; gap: .34rem; white-space: nowrap; padding: .32rem .53rem; min-height: 1.9rem; background: transparent; color: #b3aec7; border: 1px solid transparent; border-radius: .35rem; font: .79rem/1.2 var(--mono); }
.file-tab[aria-pressed="true"] { color: #eeeaf8; background: #37334d; border-color: #49435f; }
.file-tab:hover { color: white; background: #37334d; }
.file-tab .icon { color: #b8a1f4; width: .9rem; height: .9rem; }
.editor-heading .icon-button { color: #b6afca; }
.editor-heading .icon-button:hover { background: #37334d; color: #fff; }
.editor-surface { position: relative; height: clamp(14.5rem, 39vh, 24rem); overflow: hidden; background: #1d1c29; }
.editor-surface:focus-within { box-shadow: inset 0 0 0 2px #7e66be; }
.guest-prompt { position: absolute; z-index: 2; inset: 0 0 0 2.63rem; display: grid; align-content: center; justify-items: center; text-align: center; padding: 1rem; background: radial-gradient(ellipse at 50% 37%, #34284b 0%, #1d1c29 68%); }
.guest-lock { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; color: #d8c2ff; background: #47375f; border-radius: .65rem; }
.guest-prompt h2 { color: #f4eefc; margin: .7rem 0 .3rem; font-size: 1.14rem; letter-spacing: -.02em; }
.guest-prompt p { max-width: 18.5rem; margin: 0 0 .9rem; color: #d4cce2; font-size: .9rem; }
.editor-lines { position: absolute; inset: 0 auto 0 0; z-index: 1; overflow: hidden; pointer-events: none; width: 2.63rem; padding: .87rem .63rem .95rem .18rem; font: .88rem/1.64 var(--mono); text-align: right; color: #89829f; border-right: 1px solid #2c293a; background: #1d1c29; white-space: pre; }
.editor-overlay, .code-editor { position: absolute; inset: 0 0 0 2.63rem; width: calc(100% - 2.63rem); height: 100%; margin: 0; border: 0; border-radius: 0; padding: .87rem .85rem .95rem; white-space: pre; tab-size: 4; text-align: left; font: .88rem/1.64 var(--mono); letter-spacing: normal; }
.editor-overlay { color: #eeeaf4; overflow: hidden; pointer-events: none; }
.code-editor { resize: none; background: transparent; color: transparent; caret-color: #f4eeff; overflow: auto; scrollbar-width: thin; outline: 0 !important; }
.code-editor::selection { background: #7662ab6e; }
.code-editor[readonly] { cursor: default; }
.readonly-file { position: absolute; inset: 0; margin: 0; overflow: auto; white-space: pre; padding: .87rem; color: #eeeaf4; font: .88rem/1.64 var(--mono); tab-size: 4; }
.editor-overlay .token-comment { color: #a8a2bb; }
.editor-overlay .token-keyword { color: #d4b7ff; }
.editor-overlay .token-string { color: #b9daa9; }
.editor-overlay .token-number { color: #f2bc89; }
.editor-overlay .token-builtin { color: #9ac8f4; }
.editor-actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; min-height: 3.35rem; background: #252437; border-top: 1px solid #343246; padding: .52rem .67rem; }
.editor-action-buttons { display: flex; align-items: center; gap: .42rem; }
.editor-save { display: inline-flex; align-items: center; gap: .35rem; color: #c6bed8; font-size: .78rem; min-width: 0; }
.editor-save .icon { width: .9rem; height: .9rem; }
.editor-actions .button { min-height: 2.19rem; }
.button-run { color: #f1edf8; background: #383450; border-color: #4a4465; }
.button-run:hover { background: #4a4268; }
.button-run .icon { width: .95rem; height: .95rem; }
.button-check { color: #21133e; background: #ccadff; }
.button-check:hover { background: #e0ccff; }
.button-check .icon { width: .95rem; height: .95rem; }
.output { display: flex; flex-direction: column; min-height: 7rem; max-height: min(15rem, 35vh); border-top: 1px solid #3b3751; }
.output-heading { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .8rem .47rem; color: #e7e1f1; font-size: .8rem; }
.output-heading strong { display: inline-flex; align-items: center; gap: .43rem; }
.output-heading .icon { width: .95rem; height: .95rem; color: #a8a1ba; }
.output-time { color: #b6afca; font-size: .74rem; }
.output-content { margin: 0; padding: 0 .8rem .7rem; overflow: auto; scrollbar-width: thin; overflow-wrap: anywhere; }
.output-placeholder, .output-pre { margin: 0; font: .81rem/1.51 var(--mono); white-space: pre-wrap; color: #b6afca; }
.output-pre { color: #e9e3f0; }
.output-pre + .output-pre, .output-pre + .test-results { margin-top: .45rem; }
.output-error { color: #ffc1c9; }
.test-results { display: grid; gap: .28rem; list-style: none; padding: 0; margin: 0; font-size: .83rem; }
.test-results li, .run-success, .run-failure { display: flex; align-items: flex-start; gap: .37rem; }
.test-results .icon, .run-success .icon, .run-failure .icon { width: .9rem; height: .9rem; margin-top: .12rem; }
.test-failed, .run-failure { color: #ffd1d8; }
.test-passed, .run-success { color: #b8edca; }
.run-success, .run-failure { margin: .1rem 0 .35rem; font-size: .84rem; font-weight: 660; }
.workspace-footnote { display: flex; align-items: center; justify-content: flex-end; gap: .36rem; margin: .62rem .16rem 0 0; color: var(--muted); font-size: .76rem; }
kbd { font: .72rem/1.45 var(--mono); padding: .05rem .26rem; border: 1px solid #dbd6e2; border-radius: .23rem; background: #f7f4fa; }

.loading-card { color: var(--secondary); padding: 1rem 0; }
.loading-text { color: var(--muted); font-size: .85rem; margin: .25rem; }
.failure-card { max-width: 35rem; margin-top: 1rem; background: var(--paper); border: 1px solid var(--border); padding: 1.3rem; border-radius: .75rem; }
.failure-card h1 { font-size: 1.3rem; margin: 0 0 .4rem; }
.failure-card p { color: var(--secondary); margin: 0 0 1rem; }
.modal { width: min(30rem, calc(100% - 2rem)); max-height: min(85vh, 47rem); overflow-y: auto; border: 1px solid #e0d9eb; border-radius: .85rem; padding: 1.45rem; color: var(--ink); background: var(--paper); box-shadow: 0 16px 55px #1713282d; }
.modal::backdrop { background: #25203464; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; margin-bottom: .53rem; }
.modal-head h2 { font-size: 1.46rem; letter-spacing: -.035em; margin: 0; }
.modal-head .icon-button { color: var(--muted); }
.modal-copy { color: var(--secondary); margin: 0 0 1rem; font-size: .96rem; }
.auth-form { display: grid; gap: .74rem; }
.auth-form label { display: grid; gap: .27rem; font-size: .87rem; font-weight: 690; }
.auth-form input { min-width: 0; width: 100%; border: 1px solid #d9d4e2; border-radius: .44rem; min-height: 2.55rem; padding: .4rem .6rem; background: #fcfbfe; color: var(--ink); font-size: 1rem; }
.auth-note { font-weight: 440; color: var(--muted); font-size: .78rem; }
.auth-form .button { margin-top: .12rem; }
.auth-error { margin: -.15rem 0 0; padding: .46rem .55rem; border-radius: .35rem; background: #fff0f1; color: #95243e; font-size: .84rem; }
.auth-switch { margin: .85rem 0 0; font-size: .9rem; color: var(--secondary); }
.link-button { background: none; border: 0; color: var(--accent-deep); padding: 0; text-decoration: underline; text-underline-offset: .15rem; font-size: inherit; font-weight: 630; }
.milestone-list { display: grid; gap: .46rem; list-style: none; padding: 0; margin: .15rem 0 0; }
.badge-card { display: flex; gap: .68rem; align-items: center; padding: .55rem; border: 1px solid var(--border); border-radius: .5rem; }
.badge-icon { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: 0 0 auto; color: var(--muted); background: #f1eff4; border-radius: .44rem; }
.badge-earned .badge-icon { color: var(--good); background: var(--good-bg); }
.badge-card strong { display: block; font-size: .9rem; }
.badge-card div > span { display: block; color: var(--secondary); font-size: .78rem; }
.badge-status { margin-left: auto; color: var(--muted); font-size: .72rem; font-weight: 650; white-space: nowrap; }
.badge-earned .badge-status { color: var(--good); }
.toast { position: fixed; bottom: 1.15rem; right: 1.15rem; z-index: 6; max-width: min(24rem, calc(100vw - 2.3rem)); border: 1px solid #d8cce9; border-radius: .56rem; background: var(--paper); color: var(--secondary); padding: .63rem .84rem; font-size: .88rem; box-shadow: 0 9px 30px #32234721; }
.toast:empty { display: none; }

@media (max-width: 75rem) {
  :root { --sidebar: 14.6rem; }
  .lesson-layout { gap: 1.55rem; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
  .main { padding-inline: 1.55rem; }
  .sidebar-inner { padding-inline: .79rem; }
}
@media (max-width: 64rem) {
  :root { --sidebar: 13.7rem; }
  .main { padding-inline: 1.2rem; }
  .lesson-layout { gap: 1.1rem; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); }
  .editor-actions, .editor-heading { padding-inline: .48rem; }
  .editor-actions .button { padding-inline: .48rem; }
}
@media (max-width: 56rem) {
  .layout { display: block; }
  .main { padding-inline: clamp(1rem, 3.25vw, 2rem); }
  .lesson-layout { gap: clamp(1.15rem, 3vw, 2rem); }
  .course-sidebar { display: none; position: fixed; z-index: 4; top: var(--header); bottom: 0; left: 0; height: auto; width: min(17.1rem, 90vw); box-shadow: 8px 0 26px #29213728; }
  .course-sidebar.menu-open { display: block; }
  .menu-button { display: inline-flex; }
}
@media (max-width: 45rem) {
  .header-course { display: none; }
  .topbar { padding-inline: .86rem; gap: .3rem; }
  .topbar-actions { gap: .22rem; }
  .topbar-actions .button { padding-inline: .45rem; }
  .lesson-layout { display: flex; flex-direction: column; align-items: stretch; max-width: 36rem; }
  .workspace { position: static; margin-top: .35rem; }
  .main { padding-top: 1.45rem; }
  .lesson-title { font-size: clamp(1.95rem, 6.35vw, 2.65rem); }
  .editor-surface { height: 15.5rem; }
}
@media (max-width: 30rem) {
  :root { --header: 3.6rem; }
  .topbar { padding-inline: .72rem; gap: .45rem; }
  .brand { gap: .39rem; }
  .brand-mark { width: 1.92rem; height: 1.92rem; }
  .brand-wordmark { font-size: .93rem; }
  .topbar-actions .milestone-button span, .topbar-actions .menu-button span, .topbar-actions .is-signed-in .account-label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; overflow: hidden; }
  .topbar-actions .milestone-button, .topbar-actions .menu-button, .topbar-actions .is-signed-in { min-width: 2.3rem; }
  .editor-save { flex-basis: 100%; }
  .editor-actions { gap: .35rem; padding-block: .45rem; }
  .editor-action-buttons { width: 100%; justify-content: flex-end; }
}
@media (max-width: 23rem) {
  .brand-wordmark strong { display: none; }
}
@media (max-height: 46rem) and (min-width: 45.001rem) {
  .workspace { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media (forced-colors: active) {
  .editor-overlay { visibility: hidden; }
  .code-editor { color: CanvasText; background: Canvas; }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
