:root {
  --bg: #eef3ef;
  --surface: #f8faf8;
  --surface-2: #ffffff;
  --ink: #101b1b;
  --muted: #60706f;
  --line: #d7e1df;
  --dark: #071817;
  --dark-2: #0d2321;
  --green: #37c65b;
  --green-2: #0f8a43;
  --yellow: #ffb020;
  --red: #e52525;
  --shadow: 0 24px 70px rgba(7, 24, 23, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: 15px; }
button, input, select, textarea { font: inherit; }
button { border: 1px solid var(--line); background: var(--surface-2); border-radius: 8px; padding: 11px 14px; cursor: pointer; font-weight: 700; transition: .18s ease; }
button:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(7, 24, 23, .09); }
button.primary, .primary { background: var(--green); border-color: var(--green); color: #06110f; }
button.danger { color: var(--red); border-color: #ffb3b3; background: #fff3f3; }
input, select, textarea { width: 100%; border: 1px solid #c7d6d3; border-radius: 8px; padding: 12px 13px; background: #fff; color: var(--ink); outline: none; }
textarea { min-height: 92px; resize: vertical; }
label { display: grid; gap: 7px; font-weight: 700; color: #19302e; }
small { letter-spacing: .11em; text-transform: uppercase; color: #1f6d45; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
.hidden { display: none !important; }
.message { min-height: 22px; color: #b00020; font-weight: 700; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(650px, 1.45fr) minmax(460px, .75fr); background: #020b0e; color: #fff; overflow: hidden; }
.login-visual { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 5vw, 72px); overflow: hidden; isolation: isolate; background:
  radial-gradient(circle at 28% 18%, rgba(56, 199, 91, .14), transparent 30%),
  linear-gradient(115deg, #031118 0%, #06161a 54%, #020a0c 100%);
}
.login-visual::before { content: ""; position: absolute; inset: 0 -5% 0 31%; background:
  linear-gradient(90deg, rgba(2,11,14,.96), rgba(2,11,14,.1) 28%, rgba(2,11,14,.32) 72%, rgba(2,11,14,.95)),
  url("assets/dvm-login-worker.png") center / cover no-repeat; opacity: .92; z-index: -2; }
.login-visual::after { content: ""; position: absolute; width: 16px; height: 118%; right: -3px; top: -8%; transform: rotate(12deg); transform-origin: center; background: linear-gradient(180deg, #7fff72, #34c65d 55%, #0f7d40); box-shadow: 0 0 26px rgba(80, 255, 120, .58); z-index: 2; }
.login-brand { position: absolute; left: clamp(32px, 4vw, 66px); top: clamp(28px, 5vw, 64px); display: flex; align-items: center; gap: 13px; z-index: 1; }
.login-brand img { width: 78px; height: 78px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.login-brand strong { display: block; font-size: clamp(46px, 4.6vw, 70px); line-height: .78; font-weight: 950; letter-spacing: -.05em; color: #fff; text-shadow: 0 8px 24px rgba(0,0,0,.36); }
.login-brand span { display: block; margin-top: 10px; color: #53d56d; font-weight: 900; letter-spacing: .04em; }
.login-hero-copy { position: relative; z-index: 1; width: min(720px, 62vw); margin-top: 60px; }
.login-hero-copy small { color: #3ed15d; font-size: 17px; letter-spacing: .04em; }
.login-hero-copy h1 { max-width: 700px; margin: 18px 0 22px; font-size: clamp(50px, 5.3vw, 78px); line-height: 1.02; letter-spacing: -.045em; color: #fff; text-shadow: 0 12px 28px rgba(0,0,0,.36); }
.login-hero-copy h1 span { color: #42c568; display: block; }
.hero-copy { max-width: 650px; color: rgba(237, 247, 243, .9); font-size: 20px; line-height: 1.55; }
.hero-grid { display: grid; grid-template-columns: repeat(4, minmax(112px, 1fr)); gap: 28px; width: min(680px, 100%); margin-top: 38px; }
.hero-grid span { display: grid; gap: 13px; color: #fff; font-weight: 750; line-height: 1.35; }
.hero-grid i, .login-card-foot i, .secure-kicker i { font-style: normal; }
.hero-grid i { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(55, 198, 91, .78); border-radius: 8px; color: #39d764; background: rgba(5, 24, 26, .54); box-shadow: inset 0 0 22px rgba(57, 215, 100, .06), 0 18px 38px rgba(0,0,0,.22); }
.icon-play::before { content: "▶"; }
.icon-qr::before { content: "▦"; font-size: 24px; }
.icon-report::before { content: "▣"; font-size: 23px; }
.icon-shield::before, .icon-shield-large::before { content: "✓"; }
.icon-mail::before { content: "✉"; }
.icon-lock::before { content: "▣"; }
.login-security-card { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 18px; width: min(380px, 100%); margin-top: 56px; padding: 22px 24px; border: 1px solid rgba(174, 199, 205, .23); border-radius: 12px; background: rgba(11, 24, 31, .72); box-shadow: 0 20px 50px rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.login-security-card i { width: 56px; height: 56px; display: grid; place-items: center; border: 2px solid #35c765; color: #35c765; font-style: normal; font-size: 28px; clip-path: polygon(50% 0, 88% 15%, 88% 58%, 50% 100%, 12% 58%, 12% 15%); }
.login-security-card strong { display: block; font-size: 18px; margin-bottom: 5px; }
.login-security-card p { margin: 0; color: rgba(237,247,243,.76); line-height: 1.5; }
.login-panel { display: grid; place-items: center; padding: 34px; background:
  radial-gradient(circle at 55% 30%, rgba(57, 197, 100, .07), transparent 34%),
  linear-gradient(180deg, #07141a, #020b0e); }
.login-card { width: min(540px, 100%); min-height: 705px; display: grid; align-content: center; gap: 17px; padding: 40px 36px 32px; border: 1px solid rgba(184, 205, 212, .3); border-radius: 22px; background: linear-gradient(160deg, rgba(23, 35, 45, .78), rgba(9, 20, 27, .92)); box-shadow: 0 40px 110px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(14px); }
.login-card-logo { width: 154px; height: 154px; object-fit: contain; justify-self: center; margin-bottom: 7px; background: #fff; border: 1px solid rgba(205, 217, 212, .7); border-radius: 8px; padding: 8px; filter: drop-shadow(0 16px 32px rgba(0,0,0,.32)); }
.secure-kicker { justify-self: center; color: #45d66a; display: inline-flex; gap: 9px; align-items: center; letter-spacing: .05em; }
.login-card h2 { margin: 0; text-align: center; font-size: 32px; letter-spacing: -.03em; color: #fff; }
.login-card > p { margin: -3px 0 5px; text-align: center; color: rgba(237,247,243,.72); font-size: 16px; }
.login-card label { color: #eef7f3; gap: 9px; }
.input-shell { display: grid; grid-template-columns: 32px 1fr 34px; align-items: center; min-height: 55px; border: 1px solid rgba(189, 209, 216, .42); border-radius: 9px; padding: 0 12px; background: rgba(8, 18, 25, .58); color: #3bd765; }
.input-shell input { border: 0; background: transparent; color: #fff; padding: 0; font-weight: 650; }
.input-shell input::placeholder { color: rgba(235, 243, 242, .55); }
.input-shell button { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: rgba(238, 247, 243, .84); box-shadow: none; }
.input-shell button:hover, .link-button:hover { transform: none; box-shadow: none; }
.login-options { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: rgba(237,247,243,.82); }
.remember { display: flex; grid-template-columns: none; align-items: center; gap: 8px; font-weight: 650; color: rgba(237,247,243,.82) !important; }
.remember input { width: 19px; height: 19px; accent-color: #38c85f; }
.link-button { border: 0; padding: 0; background: transparent; color: #41cf61; font-weight: 800; }
.login-submit { position: relative; height: 56px; border: 1px solid rgba(99, 236, 131, .5); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 17px; background: linear-gradient(135deg, #39d765 0%, #22b956 54%, #118845 100%) !important; box-shadow: 0 16px 30px rgba(22, 185, 84, .22), inset 0 1px 0 rgba(255,255,255,.24); overflow: hidden; }
.login-submit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 44%); pointer-events: none; }
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(22, 185, 84, .28), inset 0 1px 0 rgba(255,255,255,.26); filter: saturate(1.04); }
.login-submit:focus-visible { outline: 3px solid rgba(85, 223, 113, .32); outline-offset: 3px; }
.login-submit span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); font-size: 22px; line-height: 1; }
.login-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; color: rgba(237,247,243,.78); font-weight: 800; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; background: rgba(189, 209, 216, .18); }
.google-login { height: 54px; border-radius: 9px; border-color: rgba(189, 209, 216, .48); background: rgba(8, 18, 25, .35); color: #fff; display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 17px; }
.google-login.disabled { opacity: .55; }
.google-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #4285f4; font-weight: 950; font-family: Arial, sans-serif; }
.login-card .message { margin: 0; text-align: center; min-height: 20px; color: #ffb3b3; }
.login-card-foot { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; justify-self: center; margin-top: 8px; color: rgba(237,247,243,.75); }
.login-card-foot i { width: 26px; height: 30px; display: grid; place-items: center; border: 1px solid #39d764; color: #39d764; border-radius: 6px; }
.login-card-foot strong { display: block; color: #3ed15d; margin-bottom: 4px; }
.login-card-foot span { display: block; font-size: 14px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 278px 1fr; }
.sidebar { background: linear-gradient(180deg, #061614, #09201d); color: #e9f6ef; padding: 18px 14px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 0; height: 100vh; }
.sidebar-brand { border: 1px solid rgba(55,198,91,.38); border-radius: 8px; padding: 12px; background: rgba(255,255,255,.035); display: grid; grid-template-columns: 64px 1fr; gap: 11px; align-items: center; }
.sidebar-brand::before { display: none; }
.sidebar-logo { display: block; width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.2)); }
.sidebar-brand strong { display: block; font-size: 18px; line-height: 1.08; letter-spacing: 0; }
.sidebar-brand span { display: block; color: #cfe3dc; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; margin-top: 5px; }
#nav { display: grid; gap: 8px; }
.nav-item { color: #dcebe7; text-align: left; background: transparent; border-color: transparent; border-radius: 8px; }
.nav-item.active { background: rgba(140,255,0,.16); border-color: rgba(140,255,0,.55); color: #fff; box-shadow: inset 4px 0 0 var(--green); }
.sidebar-user { margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; display: grid; gap: 10px; }
.sidebar-user span { font-size: 13px; color: #cce3dc; }
.workspace { min-width: 0; padding: 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; box-shadow: 0 14px 45px rgba(7,24,23,.06); }
.topbar h1 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 50px rgba(7,24,23,.07); padding: 22px; margin-bottom: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid #e4ece9; padding-bottom: 16px; margin-bottom: 18px; }
.panel-head.compact { margin-top: 10px; }
.panel h2 { margin-bottom: 0; font-size: 26px; letter-spacing: -.03em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 14px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.metric { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 8px; padding: 18px; box-shadow: 0 14px 40px rgba(7,24,23,.07); }
.metric strong { display: block; font-size: 34px; letter-spacing: -.04em; color: #0d6d34; }
.data-list { display: grid; gap: 10px; }
.data-row { border: 1px solid #e0e9e6; background: #fbfdfc; border-radius: 8px; padding: 13px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.row-title { font-weight: 850; }
.row-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.note { background: #eefee1; border-left: 4px solid var(--green); border-radius: 8px; padding: 12px; color: #244536; }
.course-assignment { border: 1px solid #e1ebe8; background: #fbfdfc; border-radius: 8px; padding: 16px; margin: 12px 0 14px; display: grid; gap: 14px; }
.course-assignment h3 { margin-bottom: 4px; font-size: 20px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 320px; overflow: auto; padding-right: 4px; }
.check-item { display: grid; grid-template-columns: 20px 1fr; align-items: flex-start; gap: 10px; border: 1px solid #dfe9e6; background: #fff; border-radius: 8px; padding: 11px; font-weight: 700; }
.check-item input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-2); }
.check-item strong, .check-item small { display: block; }
.check-item small { margin-top: 3px; color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 12px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.course-card { border: 1px solid var(--line); background: #fbfdfc; border-radius: 8px; padding: 18px; display: grid; gap: 12px; }
.progress { height: 10px; border-radius: 999px; background: #e5eeeb; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #24bb5d); }
.badge { display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.badge.ok { background: #dfffe8; color: #006b31; }
.badge.warn { background: #fff4d6; color: #8a5a00; }
.badge.info { background: #e7f1ff; color: #00508f; }
dialog { border: 0; border-radius: 8px; padding: 0; width: min(1180px, calc(100vw - 28px)); max-height: calc(100vh - 28px); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(2, 14, 13, .58); backdrop-filter: blur(4px); }
.lesson-player { padding: 24px; display: grid; gap: 16px; }
.video-box { background: #071817; color: #fff; border-radius: 8px; min-height: 260px; display: grid; place-items: center; text-align: center; padding: 16px; }
.video-box video { width: 100%; max-height: 460px; border-radius: 8px; background: #000; }
.question-list { display: grid; gap: 14px; }
.certificate-card { width: min(760px, calc(100% - 30px)); margin: 8vh auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px; box-shadow: var(--shadow); }
.validation-page { background: var(--bg); }
.validation-box dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px; }
.validation-box dt { font-weight: 800; color: #35514c; }
.validation-box.valid { border-left: 5px solid var(--green); padding-left: 18px; }
.validation-box.invalid { border-left: 5px solid var(--red); padding-left: 18px; }
.command-panel { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; align-items: center; }
.command-panel img { width: 220px; height: 220px; object-fit: contain; justify-self: end; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; box-shadow: 0 14px 30px rgba(7,24,23,.12); }
.course-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 12px; margin-bottom: 18px; }
.course-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.course-admin-card { border: 1px solid var(--line); background: #fbfdfc; border-radius: 8px; padding: 18px; display: grid; gap: 13px; min-width: 0; }
.course-admin-card h3 { margin-bottom: 0; font-size: 21px; letter-spacing: 0; }
.course-admin-card p { color: var(--muted); line-height: 1.5; min-height: 44px; }
.course-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-weight: 800; }
.course-admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.course-admin-stats span { border: 1px solid #dfe9e6; background: #fff; border-radius: 8px; padding: 10px; color: var(--muted); font-size: 12px; }
.course-admin-stats strong { display: block; color: var(--ink); font-size: 18px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.settings-grid label:nth-last-child(-n+4) { grid-column: span 2; }
.success { color: #067235; }
.course-builder { background: #f8faf8; max-height: calc(100vh - 28px); overflow: auto; }
.builder-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; background: #fff; border-bottom: 1px solid var(--line); padding: 22px; }
.builder-header h2 { margin-bottom: 6px; }
.builder-header p { margin-bottom: 0; color: var(--muted); }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; padding: 18px; }
.builder-main { min-width: 0; display: grid; gap: 18px; }
.builder-side { position: sticky; top: 104px; align-self: start; display: grid; gap: 14px; }
.builder-side > img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; box-shadow: 0 14px 30px rgba(7,24,23,.1); }
.builder-summary { display: grid; gap: 10px; }
.builder-summary .metric { margin: 0; }
.builder-section, .inline-editor { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 16px; }
.builder-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 14px; }
.builder-list { display: grid; gap: 10px; }
.builder-row { border: 1px solid #e0e9e6; border-radius: 8px; background: #fbfdfc; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.builder-row strong, .builder-row span, .builder-row small { display: block; letter-spacing: 0; text-transform: none; }
.builder-row span { color: var(--muted); margin-top: 4px; }
.builder-row small { color: #1f6d45; margin-top: 5px; overflow-wrap: anywhere; }
.upload-strip { margin-top: 12px; border: 1px dashed #91aaa3; background: #f3faf6; border-radius: 8px; padding: 14px; display: grid; gap: 8px; color: var(--muted); }
.certificate-logo { width: 170px; height: 170px; object-fit: contain; display: block; margin: 0 auto 18px; }
.printable-cert { text-align: center; }
.printable-cert dl { text-align: left; display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; }
.certificate-model-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); gap: 18px; align-items: start; }
.certificate-preview { display: grid; gap: 12px; }
.certificate-preview-page { min-height: 290px; background: #fff; border: 1px solid #d7e1df; border-radius: 8px; padding: 18px; position: relative; overflow: hidden; box-shadow: 0 12px 28px rgba(7,24,23,.08); }
.preview-border { position: absolute; inset: 8px; border: 7px solid #25b956; pointer-events: none; }
.preview-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: relative; z-index: 1; }
.preview-top img { width: 64px; height: 64px; object-fit: contain; }
.preview-top strong { color: #0f8a43; font-size: 18px; }
.certificate-preview-page h3 { position: relative; z-index: 1; text-align: center; color: #e52525; font-size: 32px; margin: 14px 0 8px; }
.certificate-preview-page h4 { position: relative; z-index: 1; text-align: center; font-size: 17px; margin: 14px 0 10px; }
.certificate-preview-page p, .certificate-preview-page ol, .certificate-preview-page span { position: relative; z-index: 1; }
.certificate-preview-page > p { text-align: center; line-height: 1.45; }
.certificate-preview-page span { display: block; border-top: 1px solid #111; width: 70%; margin: 26px auto 0; padding-top: 5px; text-align: center; font-weight: 800; }
.certificate-preview-page.back h3 { color: #0f8a43; text-align: left; font-size: 24px; }
.certificate-preview-page.back p { font-size: 18px; font-style: italic; margin-top: 18px; }

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: auto; padding: 130px 24px 34px; }
  .login-visual::before { inset: 0; opacity: .36; }
  .login-visual::after { right: 8%; opacity: .55; }
  .login-brand { left: 24px; top: 24px; }
  .login-brand img { width: 64px; height: 64px; }
  .login-brand strong { font-size: 44px; }
  .login-hero-copy { width: 100%; margin-top: 0; }
  .login-hero-copy h1 { font-size: 42px; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .login-security-card { margin-top: 28px; }
  .login-panel { padding: 22px; }
  .login-card { min-height: auto; padding: 28px 22px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  #nav { grid-template-columns: repeat(2, 1fr); }
  .metric-grid, .course-grid, .form-grid, .course-admin-grid, .settings-grid, .course-toolbar, .builder-grid, .command-panel, .check-grid, .certificate-model-grid { grid-template-columns: 1fr; }
  .settings-grid label:nth-last-child(-n+4) { grid-column: auto; }
  .builder-side { position: static; }
  .command-panel img { justify-self: start; width: 180px; height: 180px; }
  .course-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { align-items: flex-start; flex-direction: column; }
}
