.mobile-entry {
  --accent: #0f766e;
  --accent-hover: #115e59;
  --on-accent: #fff;
}
[data-theme="dark"] .mobile-entry {
  --accent: #5eead4;
  --accent-hover: #99f6e4;
  --on-accent: #073833;
}
.mobile-entry .workspace { --workspace-max: 1150px; }
@media (max-width: 760px) {
  .shell { display: flex; flex-direction: column; }
  .rail { position: static; height: auto; padding: 15px 16px 0; border-right: 0; border-bottom: 1px solid var(--line); overflow-y: visible; }
  .brand { padding: 0; }
  .brand-mark { width: 35px; height: 35px; }
  .brand strong { font-size: .95rem; }
  .brand small { margin-top: 2px; }
  .nav-label, .profile, .rail-link:nth-child(2) { display: none; }
  .rail-bottom { position: absolute; top: 17px; right: 16px; margin: 0; padding: 0; }
  .rail-link { padding: 0 6px; min-height: 33px; font-size: .77rem; gap: 3px; }
  .rail-link .icon { width: 15px; height: 15px; }
  .navigation { display: flex; gap: 5px; margin-top: 13px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 8px; }
  .navigation a { gap: 5px; flex: none; padding: 0 8px; min-height: 38px; font-size: .84rem; white-space: nowrap; }
  .navigation .icon { width: 16px; height: 16px; }
  .nav-count { min-width: 17px; padding: 2px 3px; font-size: .7rem; }
  .workspace { flex: 1; }
  .topbar { min-height: 56px; padding: 6px 16px; }
  .crumb-parent { display: none; }
  .top-actions { gap: 7px; }
  .demo-status { margin-right: 0; }
  .content { padding: 15px 16px 21px; }
  .site-footer { padding: 13px 16px; }
  .hero { min-height: 201px; padding: 19px 15px; border-radius: 13px; }
  .hero-motif { right: -48px; opacity: .72; height: 230px; width: max(46%, 150px); }
  .hero p { font-size: .93rem; margin-bottom: 14px; }
  .overview-heading { margin: 5px 0 16px; }
  .overview-heading h1 { margin-top: 5px; font-size: 1.86rem; }
  .overview-date { font-size: .81rem; }
  .overview-heading .button { margin: 0; padding-inline: 9px; }
  .stats { gap: 7px; }
  .stat { padding: 10px 8px; display: flex; align-items: flex-start; gap: 4px; }
  .stat-icon { width: 25px; height: 25px; border-radius: 6px; }
  .stat-icon .icon { width: 16px; height: 16px; }
  .stat p { font-size: .78rem; }
  .stat strong { font-size: 1.47rem; }
  .stat small { display: none; }
  .dashboard-grid { margin-top: 12px; }
  .section-head { padding-right: 12px; padding-left: 12px; }
  .pipeline-bar, .pipeline-legend { margin-right: 12px; margin-left: 12px; }
  .pipeline-legend { gap: 7px 8px; }
  .overview-grid .student-table { font-size: .83rem; }
  .student-table { min-width: 410px; }
  .student-table :is(th, td) { padding-right: 7px; padding-left: 7px; }
  .student-table :is(th, td):first-child { padding-left: 12px; }
  .student-table :is(th, td):last-child { padding-right: 12px; }
  .agenda-item { min-height: 65px; }
  .task-check { width: 36px; height: 36px; }
  .page-heading { align-items: flex-start; margin-bottom: 17px; }
  .page-heading p { font-size: .89rem; }
  .filters { padding-left: 12px; padding-right: 12px; }
  .search-field { max-width: 100%; }
  .dialog { padding: 16px; }
}
@media (max-width: 520px) {
  .student-table { min-width: 0; table-layout: fixed; font-size: .83rem; }
  .student-table th:first-child { width: 35%; }
  .student-table th:nth-child(3) { width: 27%; }
  .student-table :is(th, td):nth-child(4) { display: none; }
  .student-table td .mobile-date { display: block; margin-top: 4px; }
  .student-table td, .record-btn { overflow-wrap: anywhere; }
  .record-btn { gap: 5px; white-space: normal; }
  .record-btn .avatar { width: 26px; height: 26px; }
}
@media (max-width: 400px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .stat .stat-icon { display: none; }
}
