:root {
  color-scheme: light;
  --canvas: #f3f7fc; --surface: #ffffff; --side: #eaf2fc; --ink: #142841;
  --muted: #4b6483; --faint: #5d7593; --line: #c8d9ee; --line-strong: #92b4e0;
  --accent: #1a54a2; --accent-hover: #123f7e; --accent-soft: #dcecff;
  --code: #f1f7ff; --hero: #153762; --hero-ink: #f4f9ff; --hero-secondary: #c7e0ff;
  --good: #408469; --bad: #ad3848; --shadow: 0 14px 44px #12335425;
  --sans: 'Segoe UI', Inter, system-ui, sans-serif;
  --mono: 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --canvas: #111d30; --surface: #16263d; --side: #101b2b; --ink: #edf5ff;
  --muted: #abc2e0; --faint: #91aacd; --line: #294668; --line-strong: #45698f;
  --accent: #9dcbff; --accent-hover: #c3e0ff; --accent-soft: #233f63;
  --code: #12243e; --hero: #194473; --hero-ink: #f4f9ff; --hero-secondary: #c9e2ff;
  --good: #81cba9; --bad: #f3a3ad; --shadow: 0 16px 40px #061221a0;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 14px/1.48 var(--sans); }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button, a, input, textarea, [contenteditable] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: var(--accent); }
svg { display: block; }
[data-icon] { display: inline-grid; place-items: center; flex: none; }
.topbar { height: 66px; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 24px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font-size: 20px; font-weight: 720; letter-spacing: -.055em; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 720; }
.top-crumb { min-width: 0; display: flex; align-items: center; gap: 11px; margin-left: 25px; font-size: 13px; color: var(--muted); }
.top-crumb > span:not(#crumb-title) { flex: none; white-space: nowrap; }
#crumb-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.slash { color: var(--faint); }
.top-spacer { flex: 1; }
.button, .icon-button, .text-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 8px; background: transparent; white-space: nowrap; }
.button { padding: 7px 12px; min-height: 35px; font-weight: 610; }
.button:hover:not(:disabled), .icon-button:hover:not(:disabled), .text-button:hover:not(:disabled) { background: var(--accent-soft); }
.icon-button { width: 34px; height: 34px; padding: 0; color: var(--muted); }
.text-button { min-height: 34px; color: var(--muted); padding: 5px 7px; font-size: 12px; }
.share-button { color: var(--accent); border-color: var(--line-strong); }
.session-button { color: var(--muted); }
.role-chip { background: var(--accent-soft); color: var(--accent); padding: 2px 7px; border-radius: 5px; font-size: 10px; letter-spacing: .01em; }
.education-entry { color: var(--muted); }
.education-entry[aria-pressed='true'] { color: var(--accent); background: var(--accent-soft); }
.primary { background: var(--accent); color: var(--surface); }
.primary:hover:not(:disabled) { background: var(--accent-hover); }
.plain { color: var(--muted); }
.shell { display: flex; height: calc(100dvh - 66px); min-height: 0; }
.shell[data-section='admin'] .sidebar { display: none; }
body:has(.shell[data-section='admin']) :is(.share-button, .top-crumb) { display: none; }
.admin-workspace { flex: 1; min-width: 0; overflow: auto; }
.admin-content { width: min(950px, calc(100% - 40px)); margin: 30px auto 45px; display: grid; gap: 16px; }
.admin-heading, .admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.admin-heading h1 { font-size: clamp(25px, 4vw, 39px); line-height: 1.15; letter-spacing: -.055em; margin: 0; }
.admin-section { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 16px; }
.admin-section h2 { margin: 0; font-size: 17px; }
.admin-empty { margin: 13px 0 3px; color: var(--muted); }
.admin-workspace > .admin-empty { margin: 28px 24px; }
.admin-groups { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 10px 0 0; padding: 0; }
.admin-groups li { border-radius: 6px; background: var(--accent-soft); color: var(--accent); padding: 4px 8px; overflow-wrap: anywhere; }
.admin-groups span { margin-left: 4px; color: var(--muted); font-size: 12px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { border-collapse: collapse; width: 100%; margin-top: 8px; text-align: left; }
.admin-table :is(th, td) { padding: 7px 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-table thead th { color: var(--muted); font-weight: 630; }
.admin-table tbody tr:last-child > * { border-bottom: 0; }
.admin-table td:last-child { width: 43px; }
.group-picker { border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 10px 9px; max-height: 190px; overflow: auto; }
.group-picker > label { display: block; padding: 2px 0; cursor: pointer; }
.group-picker input { accent-color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sidebar { flex: 0 0 255px; width: 255px; background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.sidebar-main { padding: 17px 14px; flex: 1; min-height: 0; overflow-y: auto; }
.side-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 3px; gap: 2px; background: var(--canvas); border: 1px solid var(--line); border-radius: 10px; }
.side-tab { display: grid; place-items: center; height: 34px; border: 1px solid transparent; border-radius: 7px; color: var(--muted); background: transparent; }
.side-tab:hover { color: var(--accent); }
.side-tab[aria-pressed='true'] { color: var(--accent); background: var(--surface); border-color: var(--line); box-shadow: 0 1px 3px #2420320e; }
.panel { padding-top: 24px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 8px; gap: 6px; }
.panel-heading h2 { margin: 0; font-size: 14px; font-weight: 740; }
.panel-heading .icon-button { width: 29px; height: 29px; }
.side-list { display: grid; gap: 4px; }
.side-row { display: flex; align-items: center; width: 100%; min-width: 0; gap: 8px; min-height: 38px; padding: 7px 9px; text-align: left; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); }
.side-row:hover { background: var(--surface); }
.side-row[aria-current='true'] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.side-row > span:last-child { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.side-empty, .side-help { margin: 8px 5px; font-size: 12px; color: var(--muted); }
.side-separator { border-top: 1px solid var(--line-strong); margin: 18px 0 11px; }
.file-line { display: flex; align-items: center; }
.file-line .icon-button { width: 27px; flex: 0 0 27px; }
.panel small { display: block; color: var(--muted); font-size: 11px; }
.assignment-list { display: grid; gap: 6px; }
.assignment-item { display: flex; align-items: center; gap: 8px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px; min-width: 0; }
.assignment-item:hover { border-color: var(--line-strong); background: var(--accent-soft); }
.assignment-item-icon, .assignment-banner-icon, .kernel-loader-icon { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--accent); background: var(--accent-soft); }
.assignment-item-text { min-width: 0; }
.assignment-item-text b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.assignment-banner { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); }
.assignment-banner .assignment-banner-icon { width: 36px; height: 36px; }
.assignment-banner small, .assignment-feedback small, .submission-name small { display: block; color: var(--muted); font-size: 11px; }
.assignment-banner > div { min-width: 0; overflow-wrap: anywhere; }
.assignment-detail { display: flex; flex-wrap: wrap; gap: 7px 12px; color: var(--muted); }
.assignment-detail > span { display: inline-flex; align-items: center; gap: 4px; }
.assignment-instructions, .assignment-feedback p { white-space: pre-wrap; overflow-wrap: anywhere; }
.assignment-feedback { padding: 9px 10px; border-left: 2px solid var(--accent); background: var(--canvas); }
.assignment-feedback > p { margin-top: 5px; }
.section-title { font-size: 14px; margin: 2px 0 0; }
.submission-name { flex: 1; overflow-wrap: anywhere; }
.auth-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border: 1px solid var(--line); border-radius: 9px; padding: 3px; background: var(--canvas); }
.auth-mode .button[aria-pressed='true'] { color: var(--accent); background: var(--surface); border-color: var(--line); }
.sidebar-footer { border-top: 1px solid var(--line-strong); padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; }
.main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.toolbar { height: 56px; min-height: 56px; display: flex; align-items: center; background: var(--canvas); border-bottom: 1px solid var(--line); gap: 8px; padding: 0 20px; }
.toolbar-group { display: flex; align-items: center; gap: 4px; }
.toolbar-group + .toolbar-group { padding-left: 8px; margin-left: 2px; border-left: 1px solid var(--line-strong); }
.save-state { color: var(--muted); font-size: 12px; white-space: nowrap; }
.runtime-button { color: var(--muted); border-color: var(--line); background: var(--surface); }
.status-dot, .footer-dot { display: inline-block; width: 7px; height: 7px; border-radius: 100%; background: var(--faint); flex: none; }
.status-dot[data-state='ready'], .footer-dot { background: var(--good); }
.status-dot[data-state='loading'], .status-dot[data-state='busy'] { background: #bf8736; box-shadow: 0 0 0 3px #bf873625; }
.status-dot[data-state='error'] { background: var(--bad); }
.work-area { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; }
.document { width: min(930px, calc(100% - 72px)); margin: 29px auto 45px; }
.document-heading { position: relative; isolation: isolate; background: var(--hero); color: var(--hero-ink); padding: 23px 30px 25px; border-radius: 15px; overflow: hidden; min-height: 150px; margin-bottom: 25px; }
.heading-content { position: relative; z-index: 1; width: 75%; }
.doc-type { display: flex; align-items: center; gap: 7px; color: var(--hero-secondary); font-size: 12px; }
#doc-title { width: fit-content; min-width: 35px; max-width: 100%; margin: 10px 0 5px; padding: 0 2px; font-size: clamp(29px, 4.4vw, 47px); line-height: 1.08; font-weight: 680; letter-spacing: -.065em; overflow-wrap: anywhere; }
#doc-title:focus { outline: 1px dashed #c4e3ffbb; outline-offset: 4px; border-radius: 3px; }
.doc-subtitle { font-size: 13px; color: var(--hero-secondary); margin-top: 9px; }
.heading-art { position: absolute; right: -44px; top: -90px; width: 380px; height: 310px; transform: rotate(-19deg); opacity: .83; mask-image: linear-gradient(110deg, transparent, black 37%); }
.heading-art i { position: absolute; border: 1px solid #7fb6ee8a; border-radius: 46% 54% 45% 55%; width: calc(155px + 28px * var(--ring)); height: calc(100px + 22px * var(--ring)); top: calc(110px - 11px * var(--ring)); left: calc(101px - 14px * var(--ring)); transform: rotate(calc(7deg * var(--ring))); }
.heading-art i:nth-child(1) { --ring: 1; }
.heading-art i:nth-child(2) { --ring: 2; }
.heading-art i:nth-child(3) { --ring: 3; border-color: #b7e0ffbd; }
.heading-art i:nth-child(4) { --ring: 4; }
.heading-art i:nth-child(5) { --ring: 5; }
.heading-art i:nth-child(6) { --ring: 6; }
.cells { display: grid; gap: 12px; }
.cell { position: relative; display: grid; grid-template-columns: 41px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 11px; background: var(--surface); scroll-margin: 14px; }
.cell[data-active='true'] { border-color: var(--line-strong); box-shadow: inset 2px 0 var(--accent); }
.cell-gutter { display: flex; flex-direction: column; padding: 9px 0 0 6px; align-items: center; gap: 5px; border-right: 1px solid var(--line); }
.cell-gutter .icon-button { width: 28px; height: 28px; }
.cell-count { font: 10px/1.4 var(--mono); color: var(--muted); }
.cell-run { background: var(--accent-soft); color: var(--accent); }
.cell-content { min-width: 0; }
.cell-bar { display: flex; align-items: center; padding: 4px 8px 4px 13px; height: 41px; gap: 5px; border-bottom: 1px solid var(--line); }
.cell-kind { font-size: 12px; font-weight: 650; color: var(--muted); }
.cell-bar .icon-button { width: 27px; height: 27px; }
.cell-bar .icon-button:not(:focus-visible) { opacity: .65; }
.cell:hover .cell-bar .icon-button, .cell:focus-within .cell-bar .icon-button { opacity: 1; }
.code-editor { position: relative; display: grid; grid-template-columns: auto 1fr; background: var(--code); }
.code-editor:focus-within { box-shadow: inset 0 0 0 1px var(--accent-soft); }
.code-editor pre, .code-editor textarea { margin: 0; border: 0; padding: 13px 14px; font: 13px/1.6 var(--mono); tab-size: 4; white-space: pre; }
.code-editor .line-numbers { color: var(--faint); text-align: right; padding-right: 0; min-width: 27px; user-select: none; }
.editor-stack { position: relative; min-width: 0; overflow: hidden; }
.editor-stack pre { pointer-events: none; overflow: hidden; color: var(--ink); min-height: 49px; }
.code-editor textarea { position: absolute; inset: 0; width: 100%; height: 100%; resize: none; overflow: auto; background: transparent; color: transparent; caret-color: var(--ink); outline: none; }
.code-editor textarea::selection { background: #4594e251; color: transparent; }
.tok-comment { color: var(--muted); }
.tok-string { color: #367359; }
.tok-keyword { color: #205a9c; font-weight: 600; }
.tok-number { color: #a4512a; }
:root[data-theme='dark'] .tok-string { color: #90cba7; }
:root[data-theme='dark'] .tok-keyword { color: #9acbff; }
:root[data-theme='dark'] .tok-number { color: #f0b184; }
.markdown { padding: 12px 17px 15px; overflow-wrap: anywhere; }
.markdown > :first-child { margin-top: 0; }
.markdown > :last-child { margin-bottom: 0; }
.markdown h1, .markdown h2, .markdown h3 { letter-spacing: -.035em; line-height: 1.2; margin: 14px 0 8px; }
.markdown h1 { font-size: 26px; }
.markdown h2 { font-size: 21px; }
.markdown h3 { font-size: 17px; }
.markdown p, .markdown ol, .markdown ul { margin: 8px 0; }
.markdown code { font: 12px/1.5 var(--mono); background: var(--accent-soft); padding: 2px 4px; border-radius: 4px; }
.markdown pre, .output pre { overflow: auto; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.55 var(--mono); }
.markdown pre { padding: 10px; background: var(--code); border: 1px solid var(--line); border-radius: 6px; }
.markdown pre code { padding: 0; background: none; }
.markdown blockquote { border-left: 2px solid var(--accent); margin: 8px 0; padding-left: 11px; color: var(--muted); }
.markdown-source { width: 100%; min-height: 106px; vertical-align: top; border: 0; resize: vertical; padding: 12px 16px; background: var(--code); color: var(--ink); font: 13px/1.6 var(--mono); }
.output { border-top: 1px solid var(--line); padding: 10px 14px; max-height: 460px; overflow: auto; }
.output:empty { display: none; }
.output pre + pre { margin-top: 2px; }
.output img { display: block; object-fit: contain; max-width: 100%; max-height: 410px; }
.output iframe { display: block; width: 100%; height: 235px; border: 0; background: #fff; border-radius: 5px; }
.output .error { color: var(--bad); }
.end-add { display: flex; justify-content: center; gap: 5px; padding-top: 12px; }
.statusbar { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 4px 19px; font-size: 11px; color: var(--muted); }
.statusbar > span:first-child { display: flex; align-items: center; gap: 7px; }
.popup { position: fixed; z-index: 10; width: max-content; max-width: calc(100vw - 20px); min-width: 170px; padding: 5px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--shadow); }
.menu-item { display: flex; width: 100%; align-items: center; gap: 8px; padding: 8px 9px; border: 0; border-radius: 6px; text-align: left; background: transparent; }
.menu-item:hover:not(:disabled) { background: var(--accent-soft); }
.danger { color: var(--bad); }
dialog { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 14px; width: min(480px, calc(100vw - 26px)); padding: 0; box-shadow: var(--shadow); }
dialog::backdrop { background: #071c3478; }
.dialog-head, .dialog-body, .dialog-actions { padding: 15px 20px; }
.dialog-head { display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; flex: 1; font-size: 19px; letter-spacing: -.035em; }
.dialog-body { display: grid; gap: 12px; }
.dialog-body p { margin: 0; color: var(--muted); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 6px; border-top: 1px solid var(--line); }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 620; }
.field input, .field select, .field textarea, .comment-form textarea { width: 100%; min-height: 36px; border: 1px solid var(--line-strong); border-radius: 7px; padding: 7px 9px; background: var(--canvas); color: var(--ink); }
.field-error { color: var(--bad); font-size: 12px; }
.comment-list { display: grid; gap: 8px; }
.comment { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }
.comment p { margin: 3px 0 0; white-space: pre-wrap; }
.comment-form { display: grid; gap: 6px; margin-top: 10px; }
.comment-form textarea { resize: vertical; }
.history-row { display: flex; align-items: center; gap: 7px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.history-row b { flex: 1; overflow-wrap: anywhere; }
kbd { color: var(--muted); background: var(--canvas); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 5px; font: 11px var(--mono); }
.key-row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.toasts { position: fixed; z-index: 15; bottom: 43px; right: 17px; display: grid; gap: 6px; width: min(345px, calc(100vw - 34px)); pointer-events: none; }
.toast { border: 1px solid var(--line-strong); border-radius: 9px; box-shadow: var(--shadow); padding: 10px 13px; background: var(--surface); }
.toast[data-error='true'] { color: var(--bad); }
.startup { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: var(--canvas); transition: opacity .22s ease; }
.startup[data-ready='true'] { opacity: 0; pointer-events: none; }
.startup-inner { display: grid; justify-items: center; gap: 12px; text-align: center; color: var(--muted); }
.startup-inner strong { font-size: 26px; color: var(--ink); letter-spacing: -.055em; }
.startup-inner strong b { color: var(--accent); }
.startup-symbol { display: grid; place-items: center; width: 72px; height: 72px; position: relative; }
.startup-symbol::after { position: absolute; inset: 0; content: ''; border: 1px solid var(--line-strong); border-top-color: var(--accent); border-right-color: var(--accent); border-radius: 23px; animation: signal-turn 3.6s linear infinite; }
.startup .progress-line { width: 144px; }
.progress-line { height: 3px; border-radius: 3px; overflow: hidden; background: var(--accent-soft); }
.progress-line::before { content: ''; display: block; width: 38%; height: 100%; background: var(--accent); border-radius: inherit; animation: progress-pass 1.3s ease-in-out infinite; }
.kernel-loading { position: fixed; right: 16px; bottom: 43px; width: min(325px, calc(100vw - 32px)); z-index: 11; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px 10px; padding: 9px 11px 11px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); }
.kernel-loader-copy { display: grid; gap: 2px; }
.kernel-loader-copy span, .upload-note { color: var(--muted); font-size: 12px; }
.kernel-loading .progress-line { grid-column: 1 / -1; }
.upload-zone { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 20px 12px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--canvas); }
.upload-zone[data-drag='true'] { border-color: var(--accent); background: var(--accent-soft); }
.upload-zone > svg { color: var(--accent); }
.upload-zone .progress-line { width: min(160px, 90%); }
@keyframes progress-pass { from { transform: translateX(-100%); } to { transform: translateX(365%); } }
@keyframes signal-turn { to { transform: rotate(360deg); } }
@keyframes arrive { from { opacity: 0; transform: translateY(5px) scale(.99); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  dialog[open], .popup:not([hidden]), .kernel-loading:not([hidden]), .toast { animation: arrive .17s ease-out both; }
  .brand img, .button, .icon-button, .side-tab, .assignment-item { transition: background-color .16s, color .16s, border-color .16s, transform .16s; }
  .brand:hover img { transform: rotate(-6deg); }
  .button:active:not(:disabled), .icon-button:active:not(:disabled) { transform: translateY(1px); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .26s; animation-timing-function: ease-in-out; }
  :root[data-theme-transition] :is(body, .topbar, .toolbar, .sidebar, .document-heading, .cell, .code-editor, .statusbar, .side-tabs) { transition: background-color .26s ease, color .26s ease, border-color .26s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .startup { transition: none; }
  .progress-line::before, .startup-symbol::after { animation: none; }
}
@media (max-width: 860px) {
  .sidebar { flex-basis: 206px; width: 206px; }
  .document { width: calc(100% - 32px); margin-top: 16px; }
  .save-state { display: none; }
  .toolbar { padding: 0 12px; gap: 5px; }
}
@media (max-width: 960px) {
  .top-crumb > span:not(#crumb-title) { display: none; }
}
@media (max-width: 620px) {
  .topbar { height: 55px; padding: 0 10px; gap: 5px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand img { width: 25px; height: 25px; }
  .shell { height: calc(100dvh - 55px); }
  .top-crumb { display: none; }
  .role-chip, .education-entry > span:not([data-icon]) { display: none; }
  .education-entry { padding-inline: 7px; }
  .assignment-banner .assignment-banner-icon, .assignment-banner [data-condition] span { display: none; }
  .assignment-banner .button { padding-inline: 7px; font-size: 12px; }
  .sidebar { position: absolute; z-index: 8; inset: 55px auto 0 0; width: min(255px, 75vw); box-shadow: var(--shadow); }
  .toolbar { padding: 0 8px; gap: 2px; height: 48px; min-height: 48px; }
  .toolbar .button { font-size: 12px; padding: 5px 7px; }
  .toolbar .icon-button { width: 27px; }
  .toolbar-group, .toolbar-group + .toolbar-group { margin: 0; padding: 0; gap: 0; border: 0; }
  .button.share-button { padding: 5px 7px; }
  .document { width: calc(100% - 22px); }
  .document-heading { min-height: 120px; padding: 15px 16px 18px; }
  .heading-art { right: -190px; opacity: .6; }
  .cell { grid-template-columns: 33px minmax(0, 1fr); }
  .cell-gutter { padding-left: 2px; }
  .statusbar { gap: 4px; padding: 4px 8px; font-size: 10px; }
  #cell-position { display: none; }
}
