html {
  -webkit-text-size-adjust: 100%;
}

:root {
  --primary: #12a8e8;
  --primary-dark: #0579b8;
  --primary-deep: #075985;
  --primary-soft: #e7f8ff;
  --primary-ring: rgba(18, 168, 232, 0.22);
  --secondary: #f6a313;
  --secondary-dark: #db7600;
  --secondary-soft: #fff3d8;
  --secondary-ring: rgba(246, 163, 19, 0.24);
  --ink: #102033;
  --muted: #667085;
  --page: #eef8fc;
  --surface: rgba(255, 255, 255, 0.94);
  --line: #d8ecf7;
}

* {
  max-width: 100%;
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #e9f8ff 0%, #f8fbfd 46%, #eef8fc 100%) !important;
  color: var(--ink) !important;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.side {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 72%, var(--primary-deep) 100%) !important;
  box-shadow: 10px 0 28px rgba(7, 89, 133, 0.14);
}

.hero,
.panel {
  border-left-color: var(--primary) !important;
}

.hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(45,212,191,.34) 0, rgba(45,212,191,0) 28%),
    linear-gradient(135deg, #0b5ed7 0%, #12a8e8 52%, #2dd4bf 100%) !important;
  border-top: 1px solid rgba(255,255,255,.42) !important;
  border-right: 1px solid rgba(255,255,255,.18) !important;
  border-bottom: 1px solid rgba(11,94,215,.22) !important;
  box-shadow: 0 18px 42px rgba(11,94,215,.18) !important;
}

.hero h1 {
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}

.hero p {
  color: rgba(255,255,255,.9) !important;
}

.hero:not(.hero-no-logo)::before {
  content: "";
  flex: 0 0 74px;
  float: left;
  width: 74px;
  height: 74px;
  margin: 0 16px 10px 0;
  border-radius: 8px;
  background:
    rgba(255,255,255,.95)
    url("../logo/logo.png")
    center / 58px 58px
    no-repeat;
  box-shadow: 0 14px 30px rgba(7,89,133,.22);
}

.hero:not(.hero-no-logo)::after {
  content: "";
  display: block;
  clear: both;
}

/* Final page-head override: keep compact title panels readable after generic panel styles. */
.page-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(45,212,191,.34) 0, rgba(45,212,191,0) 28%),
    linear-gradient(135deg, #0b5ed7 0%, #12a8e8 52%, #2dd4bf 100%) !important;
  border-left-color: #0b5ed7 !important;
  border-top: 1px solid rgba(255,255,255,.42) !important;
  border-right: 1px solid rgba(255,255,255,.18) !important;
  border-bottom: 1px solid rgba(11,94,215,.22) !important;
  box-shadow: 0 18px 42px rgba(11,94,215,.18) !important;
}

.page-head h1,
.page-head h2 {
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}

.page-head p,
.page-head .muted {
  color: rgba(255,255,255,.9) !important;
}

/* Professional shared header used by teacher and project-responsible pages. */
.hero.standard-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 24px !important;
  min-height: 176px !important;
  padding: 34px 36px !important;
  text-align: left !important;
  border-left: 0 !important;
}

.hero.standard-hero:not(.hero-no-logo)::before {
  content: "" !important;
  flex: 0 0 92px !important;
  float: none !important;
  width: 92px !important;
  height: 92px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  background:
    rgba(255,255,255,.96)
    url("../logo/logo.png")
    center / 72px 72px
    no-repeat !important;
  box-shadow: 0 14px 30px rgba(7,89,133,.22) !important;
}

.hero.standard-hero:not(.hero-no-logo)::after {
  content: none !important;
  display: none !important;
}

.hero.standard-hero > div:first-of-type {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}

.hero.standard-hero h1 {
  margin: 0 0 12px !important;
  font-size: clamp(34px, 3.2vw, 48px) !important;
  line-height: 1.12 !important;
}

.hero.standard-hero p {
  margin: 0 !important;
  font-size: clamp(18px, 1.5vw, 24px) !important;
  font-weight: 600 !important;
}

.hero.standard-hero .hero-side {
  margin-left: auto !important;
  text-align: right !important;
}

.hero.standard-hero .school-logo,
.hero.standard-hero .standard-hero-logo {
  flex: 0 0 92px !important;
  width: 92px !important;
  height: 92px !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.96) !important;
  padding: 10px !important;
  object-fit: contain !important;
  box-shadow: 0 14px 30px rgba(7,89,133,.22) !important;
}

.hero.standard-hero.hero-actions-hidden > .actions {
  display: none !important;
}

.action-bar,
.withdrawal-nav {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 28px 34px !important;
  min-height: 116px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  box-shadow: 0 8px 24px rgba(31,48,76,.06) !important;
  margin-bottom: 16px !important;
}

.action-bar .actions,
.withdrawal-nav .actions,
.withdrawal-nav .tabs {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-left: auto !important;
}

@media (max-width: 760px) {
  .hero.standard-hero {
    display: block !important;
    min-height: 0 !important;
    padding: 24px !important;
  }

  .hero.standard-hero:not(.hero-no-logo)::before {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    background-size: 56px 56px !important;
    margin: 0 0 16px !important;
  }

  .hero.standard-hero .school-logo,
  .hero.standard-hero .standard-hero-logo {
    width: 72px !important;
    height: 72px !important;
    margin: 0 0 16px !important;
  }

  .hero.standard-hero h1 {
    font-size: 32px !important;
  }

  .hero.standard-hero p {
    font-size: 18px !important;
  }

  .action-bar,
  .withdrawal-nav {
    display: block !important;
    min-height: 0 !important;
    padding: 22px !important;
  }

  .action-bar .actions,
  .withdrawal-nav .actions,
  .withdrawal-nav .tabs {
    display: grid !important;
    margin-left: 0 !important;
    margin-top: 10px !important;
  }
}

.page-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(45,212,191,.34) 0, rgba(45,212,191,0) 28%),
    linear-gradient(135deg, #0b5ed7 0%, #12a8e8 52%, #2dd4bf 100%) !important;
  border-left-color: #0b5ed7 !important;
  border-top: 1px solid rgba(255,255,255,.42) !important;
  border-right: 1px solid rgba(255,255,255,.18) !important;
  border-bottom: 1px solid rgba(11,94,215,.22) !important;
  box-shadow: 0 18px 42px rgba(11,94,215,.18) !important;
}

.page-head h1,
.page-head h2 {
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}

.page-head p,
.page-head .muted {
  color: rgba(255,255,255,.9) !important;
}

.bar,
.action-bar {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(216, 236, 247, 0.86) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(7, 89, 133, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 0 16px !important;
  padding: 32px 34px !important;
}

.bar .actions,
.action-bar .actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-left: auto !important;
}

.bar > .btn:first-child,
.action-bar > .btn:first-child {
  margin-right: auto;
}

.btn {
  min-height: 46px;
  border-radius: 8px !important;
  font-weight: 800 !important;
}

@media (max-width: 760px) {
  .bar,
  .action-bar {
    align-items: stretch !important;
    flex-direction: column !important;
    padding: 20px !important;
  }

  .bar .actions,
  .action-bar .actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin-left: 0 !important;
    width: 100% !important;
  }
}

@media print {
  .bar,
  .action-bar {
    display: none !important;
  }
}

details.edit-panel {
  position: relative;
}

details.edit-panel summary {
  list-style: none;
}

details.edit-panel summary::-webkit-details-marker {
  display: none;
}

details.edit-panel[open]::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 32, 51, 0.42);
  backdrop-filter: blur(3px);
  z-index: 30;
}

.edit-box {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 31;
  width: min(840px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  transform: translate(-50%, -50%);
  background: #f8fcff;
  border: 1px solid #cfe9f8;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(7, 89, 133, 0.28);
  padding: 22px;
}

.edit-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9eaf4;
}

.edit-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.edit-title p {
  margin: 4px 0 0;
  color: var(--muted);
}

.edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.edit-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.manage {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 720px) {
  .edit-box {
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .edit-title {
    display: block;
  }

  .edit-grid {
    grid-template-columns: 1fr;
  }

  .edit-actions {
    display: grid;
  }
}

.page-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(45,212,191,.34) 0, rgba(45,212,191,0) 28%),
    linear-gradient(135deg, #0b5ed7 0%, #12a8e8 52%, #2dd4bf 100%) !important;
  border-left-color: #0b5ed7 !important;
  border-top: 1px solid rgba(255,255,255,.42) !important;
  border-right: 1px solid rgba(255,255,255,.18) !important;
  border-bottom: 1px solid rgba(11,94,215,.22) !important;
  box-shadow: 0 18px 42px rgba(11,94,215,.18) !important;
}

.page-head h1,
.page-head h2 {
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}

.page-head p {
  color: rgba(255,255,255,.9) !important;
}

.hero .back-main,
.page-head .back-main {
  background: rgba(255,255,255,.95) !important;
  color: var(--primary-deep) !important;
  box-shadow: 0 12px 26px rgba(7,89,133,.22);
}

.hero .back-main:hover,
.page-head .back-main:hover {
  background: #fff !important;
}

.primary,
.btn.primary,
button.primary,
a.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(18, 168, 232, 0.24);
}

.primary:hover,
.btn.primary:hover {
  background: var(--primary-dark) !important;
}

.back-main,
.btn.back-main,
a.back-main,
button.back-main {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(18, 168, 232, 0.24);
}

.back-main:hover,
.btn.back-main:hover {
  background: var(--primary-dark) !important;
}

.success,
.btn.success,
button.success,
a.success,
.warning,
.btn.warning {
  background: linear-gradient(135deg, #ffb322, var(--secondary-dark)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(246, 163, 19, 0.24);
}

.success:hover,
.btn.success:hover {
  background: var(--secondary-dark) !important;
}

.light,
.btn.light,
a.light,
button.light {
  background: linear-gradient(135deg, #4f46e5, #3730a3) !important;
  color: #fff !important;
  border-color: rgba(79, 70, 229, 0.34) !important;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.24);
}

.light:hover,
.btn.light:hover,
a.light:hover,
button.light:hover {
  background: linear-gradient(135deg, #4338ca, #312e81) !important;
}

.room,
.badge,
.status.confirmed,
.avatar,
.question,
.toggle-password {
  background: var(--primary-soft) !important;
  color: var(--primary-dark) !important;
}

.btn {
  border: 1px solid rgba(255,255,255,.28);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.nav a,
.logout {
  transition: background .16s ease, transform .16s ease;
}

.nav a:hover,
.logout:hover,
.nav .active {
  background: rgba(255,255,255,.2) !important;
  transform: translateX(2px);
}

.field,
input,
select,
textarea {
  background: #fff !important;
  border-color: #c7e4f3 !important;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.field:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--primary-ring) !important;
}

.card p,
.total,
.report-title,
.name,
.action strong,
.report-card h3,
.amount {
  color: var(--primary-dark) !important;
}

th {
  background: linear-gradient(180deg, #f2fbff, #e8f6ff) !important;
  color: var(--primary-deep) !important;
}

td {
  border-color: var(--line) !important;
}

tbody tr {
  transition: background .14s ease;
}

tbody tr:hover {
  background: #fbfdff;
}

.notice.unread,
.summary-item,
.step {
  background: var(--primary-soft) !important;
}

.status.pending,
.warn {
  background: var(--secondary-soft) !important;
  color: var(--secondary-dark) !important;
}

.student-count {
  background: var(--secondary-soft) !important;
  color: var(--secondary-dark) !important;
}

.hero,
.panel,
.card,
.table,
.result,
.work-card,
.document,
.report-document,
.form,
.login,
.action,
.qr-card {
  background: var(--surface) !important;
  border: 1px solid rgba(216, 236, 247, 0.82);
  box-shadow: 0 14px 36px rgba(8, 133, 196, 0.10) !important;
  backdrop-filter: blur(4px);
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.badge,
.room,
.student-count {
  box-shadow: inset 0 0 0 1px rgba(18, 168, 232, 0.10);
}

.notice {
  border-left: 5px solid var(--secondary);
}

::selection {
  background: var(--secondary-soft);
  color: var(--ink);
}

.panel,
.table,
.result,
.hero,
.bar,
.card,
.work-card,
.document,
.report-document,
.form,
.login {
  max-width: 100%;
}

.btn {
  min-height: 44px;
  text-align: center;
  white-space: nowrap;
}

.field,
input,
select,
textarea {
  min-width: 0;
}

table {
  min-width: 720px;
}

td,
th {
  overflow-wrap: anywhere;
}

form {
  max-width: 100%;
}

.actions,
.top-actions,
.qr-actions,
.rooms {
  max-width: 100%;
}

.cards,
.menu,
.summary,
.report-grid,
.work-grid,
.workflow,
.grid,
.filters {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .panel,
  .table,
  .result,
  .work-card,
  .document,
  .report-document {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr !important;
  }

  .side {
    padding: 14px 16px !important;
  }

  .brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px !important;
  }

  .brand img {
    width: 58px !important;
  }

  .brand h2 {
    margin: 0 !important;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 6px;
  }

  .nav a,
  .logout {
    margin: 0 !important;
    min-height: 44px;
    text-align: center !important;
  }

  .hero {
    align-items: flex-start !important;
  }
}

@media (max-width: 760px) {
  body {
    padding: 16px !important;
  }

  body:has(.layout) {
    padding: 0 !important;
  }

  .main {
    padding: 16px !important;
  }

  .hero,
  .panel,
  .table,
  .result,
  .bar,
  .card,
  .work-card,
  .document,
  .report-document,
  .form,
  .login {
    padding: 18px !important;
  }

  .hero h1,
  h1 {
    font-size: clamp(26px, 8vw, 38px) !important;
    line-height: 1.18;
  }

  h2 {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.2;
  }

  .btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.25;
  }

  td .btn,
  td button.btn,
  td a.btn {
    width: auto;
    min-width: 92px;
  }

  .actions,
  .top-actions,
  .qr-actions,
  .filter,
  .filters {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .filter .btn {
    width: 100%;
  }

  td form.grid,
  td form[style*="grid-template-columns"],
  td .deposit-form,
  .deposit-form {
    grid-template-columns: 1fr !important;
    min-width: 220px;
  }

  .field,
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .hero > div,
  .bar > div,
  .panel-head > div,
  .result-head > div {
    width: 100%;
  }

  .bar,
  .hero,
  .panel-head,
  .result-head,
  .send-head,
  .toolbar {
    display: block !important;
  }

  .bar .btn,
  .hero .btn,
  .toolbar .btn {
    margin-top: 8px;
  }

  .cards,
  .menu,
  .summary,
  .report-grid,
  .work-grid,
  .workflow,
  .grid,
  .filters,
  .meta,
  .report-meta,
  .report-summary,
  .signature,
  .signature-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .hero:not(.hero-no-logo)::before {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    background-size: 46px 46px;
  }
}

@media (max-width: 520px) {
  .nav {
    grid-template-columns: 1fr;
  }

  .brand {
    justify-content: flex-start;
  }

  table {
    min-width: 640px;
  }

  td .btn,
  td button.btn,
  td a.btn {
    width: 100%;
    min-width: 0;
    margin-top: 6px;
  }

  th,
  td {
    padding: 10px;
  }

  .name {
    font-size: 17px !important;
  }
}

@media (max-width: 900px) {
  .layout .side {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .layout .nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .layout .nav a,
  .layout .logout {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: left !important;
    transform: none !important;
  }

  .layout .nav a:hover,
  .layout .logout:hover,
  .layout .nav .active {
    transform: none !important;
  }
}

@media print {
  body {
    overflow: visible !important;
  }

  table {
    min-width: 0;
  }

  .btn {
    width: auto;
  }
}

/* Final theme override: keep page headers visibly separated from content. */
.hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(45,212,191,.34) 0, rgba(45,212,191,0) 28%),
    linear-gradient(135deg, #0b5ed7 0%, #12a8e8 52%, #2dd4bf 100%) !important;
  border-left-color: #0b5ed7 !important;
  border-top: 1px solid rgba(255,255,255,.42) !important;
  border-right: 1px solid rgba(255,255,255,.18) !important;
  border-bottom: 1px solid rgba(11,94,215,.22) !important;
  box-shadow: 0 18px 42px rgba(11,94,215,.18) !important;
}

.hero h1 {
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}

.hero p {
  color: rgba(255,255,255,.9) !important;
}

.hero:not(.hero-no-logo)::before {
  content: "";
  flex: 0 0 74px;
  float: left;
  width: 74px;
  height: 74px;
  margin: 0 16px 10px 0;
  border-radius: 8px;
  background:
    rgba(255,255,255,.95)
    url("../logo/logo.png")
    center / 58px 58px
    no-repeat;
  box-shadow: 0 14px 30px rgba(7,89,133,.22);
}

.hero:not(.hero-no-logo)::after {
  content: "";
  display: block;
  clear: both;
}

/* Final page-head override: keep compact title panels readable after generic panel styles. */
.page-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(45,212,191,.34) 0, rgba(45,212,191,0) 28%),
    linear-gradient(135deg, #0b5ed7 0%, #12a8e8 52%, #2dd4bf 100%) !important;
  border-left-color: #0b5ed7 !important;
  border-top: 1px solid rgba(255,255,255,.42) !important;
  border-right: 1px solid rgba(255,255,255,.18) !important;
  border-bottom: 1px solid rgba(11,94,215,.22) !important;
  box-shadow: 0 18px 42px rgba(11,94,215,.18) !important;
}

.page-head h1,
.page-head h2 {
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}

.page-head p,
.page-head .muted {
  color: rgba(255,255,255,.9) !important;
}

/* Teacher dashboard menu final override. */
.danger,
.btn.danger,
button.danger,
a.danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.24);
}

.danger:hover,
.btn.danger:hover {
  background: linear-gradient(135deg, #dc2626, #991b1b) !important;
}

.teacher-dashboard-menu.action-bar {
  padding: 34px !important;
}

.teacher-dashboard-menu .teacher-menu {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 14px !important;
  justify-content: stretch !important;
  margin-left: 0 !important;
  width: 100% !important;
}

.teacher-dashboard-menu .btn,
.teacher-dashboard-menu .menu-account-form {
  width: 100% !important;
}

.teacher-dashboard-menu .btn {
  min-height: 70px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

.teacher-dashboard-menu .menu-main,
.teacher-dashboard-menu .menu-tool {
  grid-column: span 2;
}

.teacher-dashboard-menu .menu-account,
.teacher-dashboard-menu .menu-account-form {
  grid-column: span 1;
}

.teacher-dashboard-menu .teacher-menu > .menu-account {
  grid-column-start: 5;
}

@media (max-width: 980px) {
  .teacher-dashboard-menu .teacher-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .teacher-dashboard-menu .menu-main,
  .teacher-dashboard-menu .menu-tool,
  .teacher-dashboard-menu .menu-account,
  .teacher-dashboard-menu .menu-account-form {
    grid-column: span 1 !important;
  }
}

@media (max-width: 760px) {
  .teacher-dashboard-menu.action-bar {
    padding: 20px !important;
  }

  .teacher-dashboard-menu .teacher-menu {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}
