.workspace-body { background: var(--paper, #fdfbf7); color: var(--ink, #1f2937); }
.workspace-layout { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; position: relative; }
.workspace-sidebar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(253, 249, 236, 0.96) 100%);
  background-color: var(--surface, #fdfbf7);
  color: var(--ink, #1f2937);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(212, 175, 55, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 6px 0 28px rgba(184, 134, 0, 0.08);
  overflow-y: auto;
  z-index: 1100;
}
.sidebar-brand img { width: 156px; height: 52px; object-fit: contain; object-position: left center; }
.role-badge { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 6px; background: #fffdf5; color: #b88600; border: 1px solid rgba(212, 175, 55, 0.35); font-size: 10px; font-weight: 900; letter-spacing: 0.1em; }
.role-badge-admin { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.sidebar-nav { display: flex; flex-direction: column; gap: 5px; margin: 20px 0 auto; }
.sidebar-link { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: 11px; font-size: 13px; font-weight: 650; color: #374151; transition: background 0.15s, color 0.15s, border-color 0.15s; border: 1px solid transparent; }
.sidebar-link:hover { background: rgba(212, 175, 55, 0.14); color: #111315; border-color: rgba(212, 175, 55, 0.32); }
.sidebar-link.is-active { background: linear-gradient(135deg, #ffd43b, #d4af37, #b88600); color: #111; font-weight: 800; border-color: #b88600; box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25); }
.sidebar-badge { margin-left: auto; padding: 2px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; background: #fffdf5; color: #b88600; border: 1px solid rgba(212, 175, 55, 0.32); }
.sidebar-link.is-active .sidebar-badge { background: rgba(255,255,255,0.92); color: #111; border-color: transparent; }
.sidebar-logout-btn { width: 100%; text-align: left; background: #fff5f5; color: #dc2626; border: 1px solid #fecaca; padding: 10px 14px; border-radius: 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.sidebar-logout-btn:hover { background: #fee2e2; }
.workspace-main { display: flex; flex-direction: column; min-width: 0; }
.workspace-topbar { background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid rgba(212, 175, 55, 0.32); padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 25; }
.topbar-search { flex: 1; max-width: 440px; }
.topbar-search input { width: 100%; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(212, 175, 55, 0.35); background: #fdfbf7; font-size: 13px; color: #1f2937; }
.topbar-profile { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.streak-pill { background: #fffdf5; color: #b88600; border: 1px solid rgba(212, 175, 55, 0.35); padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.profile-chip strong, .profile-chip small { display: block; line-height: 1.25; text-align: right; }
.profile-chip small { font-size: 11px; color: var(--muted); }
.workspace-content { padding: 26px 28px 60px; display: grid; gap: 22px; }
.dashboard-welcome-banner { background: #fff; border: 1px solid rgba(212, 175, 55, 0.32); border-radius: 20px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dashboard-welcome-banner h1 { margin: 0 0 4px; font-size: clamp(1rem, 3.2vw + 0.2rem, 1.45rem); }
.dashboard-welcome-banner p { margin: 0; color: var(--muted); font-style: italic; }
.next-target-card { background: linear-gradient(135deg, #fffdf5, #fef3c7); color: #1f2937; border: 1px solid rgba(212, 175, 55, 0.4); padding: 18px 22px; border-radius: 16px; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.kpi-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi-card { background: #fff; border: 1px solid rgba(212, 175, 55, 0.28); border-radius: 16px; padding: 20px; }
.kpi-label { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.kpi-value { display: block; font-size: 30px; font-weight: 900; letter-spacing: -0.04em; margin: 6px 0 4px; color: #b88600; }
.kpi-subtext { font-size: 11px; color: #16a34a; font-weight: 700; }
.workspace-two-col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
.workspace-panel, .sub-panel { background: #fff; border: 1px solid rgba(212, 175, 55, 0.28); border-radius: 18px; padding: 24px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.panel-header h1, .panel-header h2 { margin: 0; font-size: clamp(1rem, 3.2vw + 0.2rem, 1.45rem); }
.panel-link { font-size: 12px; font-weight: 800; color: #b88600; }
.target-checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.target-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid rgba(212, 175, 55, 0.28); border-radius: 12px; background: rgba(255, 255, 255, 0.78); }
.target-row.is-done { background: #f0fdf4; border-color: #bbf7d0; }
.target-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; font-weight: 600; }
.subject-tag { padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; background: #e0f2fe; color: #0369a1; }
.subject-physics { background: #dcfce7; color: #15803d; }
.subject-chemistry { background: #fef3c7; color: #b45309; }
.subject-maths { background: #dbeafe; color: #1d4ed8; }
.target-hours { font-size: 12px; color: var(--muted); font-weight: 700; }
.trend-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; height: 170px; padding-top: 24px; border-bottom: 1px solid var(--border); }
.trend-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trend-bar-fill { width: 100%; max-width: 44px; background: linear-gradient(180deg, #ffc400, #f59e0b); border-radius: 8px 8px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; font-size: 11px; font-weight: 900; color: #111; }
.quick-actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.error-breakdown-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 13px; }
.error-breakdown-list li { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.err-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.err-label { flex: 1; }
.subject-bar-block { margin-top: 14px; }
.progress-track { height: 10px; background: #e5e7eb; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.progress-fill { height: 100%; border-radius: 99px; }
.question-audit-card { border: 1px solid rgba(212, 175, 55, 0.28); border-radius: 16px; padding: 20px; margin-bottom: 16px; background: #fff; }
.q-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.q-badge { background: #fffdf5; color: #b88600; border: 1px solid rgba(212, 175, 55, 0.35); padding: 4px 10px; border-radius: 8px; font-weight: 900; font-size: 12px; }
.q-prompt { font-weight: 700; font-size: 15px; margin: 0 0 14px; }
.q-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.q-option { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 13px; }
.q-opt-correct { background: #dcfce7; border-color: #22c55e; font-weight: 700; }
.q-opt-wrong { background: #fee2e2; border-color: #ef4444; }
.opt-tag { float: right; font-size: 11px; font-weight: 800; }
.q-explanation-box { background: #fffbeb; border: 1px solid #fde68a; padding: 12px 16px; border-radius: 12px; font-size: 13px; }

/* Easy UX Helper Guide Box */
.ux-helper-banner {
  background: linear-gradient(135deg, #fffdf5 0%, #fef9e7 100%);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-left: 4px solid #d4af37;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #1f2937;
  box-shadow: 0 4px 14px rgba(184, 134, 0, 0.06);
}
.ux-helper-banner strong {
  color: #92400e;
}

/* V4 Post-Login Avatar Control, Dropdown Menus, Golden Glassmorphism & Tutorial Modals */
.jm-avatar-dropdown, .jm-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.jm-nav-dropbtn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.15s ease;
}
.jm-nav-dropbtn:hover, .jm-nav-dropbtn:focus-visible {
  border-color: #b88600;
  background: #fffbeb;
}
.jm-nav-dropmenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(21, 23, 25, 0.14);
  padding: 8px;
  z-index: 1200;
}
.jm-nav-dropmenu.is-open {
  display: grid;
  gap: 4px;
}
.jm-nav-dropmenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #151719;
  text-decoration: none;
}
.jm-nav-dropmenu a:hover {
  background: #fef9c3;
}
.jm-avatar-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1.5px solid #E5AD00;
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(229, 173, 0, 0.15);
}
.jm-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fffdf5;
  color: #b88600;
  border: 2px solid #E5AD00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.jm-avatar-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.jm-avatar-meta strong {
  font-size: 13px;
  color: #151719;
}
.jm-avatar-meta small {
  font-size: 11px;
  color: #64748b;
}
.jm-avatar-caret {
  font-size: 11px;
  color: #64748b;
}
.jm-avatar-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  padding: 10px;
  z-index: 1500;
}
.jm-avatar-menu.is-open {
  display: block;
}
.jm-avatar-menu-header {
  padding: 8px 10px 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jm-avatar-menu-header strong {
  font-size: 14px;
  color: #0f172a;
}
.jm-avatar-menu-header span {
  font-size: 12px;
  color: #64748b;
}
.jm-role-pill {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 800;
}
.jm-avatar-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}
.jm-avatar-menu-item:hover {
  background: #fffbeb;
  color: #92400e;
}
.jm-avatar-signout-btn {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border: none;
  cursor: pointer;
}
.jm-avatar-signout-btn:hover {
  background: #fee2e2;
}
.jm-mobile-drawer-btn {
  display: none;
  background: #fffdf5;
  color: #b88600;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

/* Modal & Walkthrough Styles */
.jm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 41, 55, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
}
.jm-modal-backdrop[hidden] {
  display: none !important;
}
.jm-modal-card {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.jm-modal-header {
  padding: 18px 22px;
  background: #fffdf5;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.jm-modal-close {
  background: #fef3c7;
  color: #92400e;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-weight: 800;
  cursor: pointer;
}
.jm-modal-body {
  padding: 20px 22px;
}
.jm-modal-footer {
  padding: 14px 22px;
  background: #fffdf5;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.jm-demo-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde047;
}
.jm-tour-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.jm-tour-tab {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: #fffdf5;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
}
.jm-tour-tab.is-active {
  background: linear-gradient(135deg, #ffd43b, #d4af37);
  color: #111;
  border-color: #b88600;
}
.jm-tour-step-box {
  display: grid;
  gap: 14px;
}
.jm-tour-visual {
  position: relative;
}
.jm-tour-step-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 253, 245, 0.95);
  color: #b88600;
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

/* Complete Workspace Component & Utility Classes */
.sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  font-size: 14px;
  flex-shrink: 0;
}
.sidebar-footer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.workspace-header-card,
.workspace-header,
.workspace-header-row {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(14px);
}
.workspace-header-card h1,
.workspace-header h1,
.workspace-header-row h1 {
  margin: 4px 0 4px;
  font-size: clamp(1rem, 3.2vw + 0.2rem, 1.45rem);
  line-height: 1.25;
  color: #1f2937;
}
.next-target-banner {
  background: linear-gradient(135deg, #fffdf5, #fef3c7);
  color: #1f2937;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1.5px solid #E5AD00;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 260px;
}
.next-target-banner small {
  color: #92400e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 8px 28px rgba(184, 134, 0, 0.08);
  backdrop-filter: blur(14px);
}
.card h2, .card h3 {
  margin-top: 0;
  color: #1f2937;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.card-head h2 {
  margin: 0;
  font-size: 18px;
}
.card-head a {
  font-size: 12px;
  font-weight: 800;
  color: #b45309;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.workspace-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  align-items: start;
}
.target-list,
.question-audit-list {
  display: grid;
  gap: 10px;
}
.target-check {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid #E5AD00;
  background: #fffbeb;
  color: #151719;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.target-row.is-done .target-check {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}
.target-info {
  flex: 1;
  min-width: 0;
}
.target-info strong {
  display: block;
  font-size: 13.5px;
  color: #111315;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #fffdf5;
  color: #92400e;
  border: 1px solid rgba(212, 175, 55, 0.32);
  letter-spacing: 0.02em;
}
.badge-yellow,
.badge-gold {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-dark {
  background: #fffdf5;
  color: #b88600;
  border: 1px solid #d4af37;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.form-group {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}
.form-control,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 10px;
  font-size: 13px;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.workspace-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.workspace-table th,
.workspace-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.workspace-table th {
  background: #fffdf5;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b88600;
  font-weight: 800;
}
.workspace-body .button-outline {
  color: #151719;
  border-color: rgba(212, 175, 55, 0.4);
  background: #ffffff;
}
.workspace-body .button-outline:hover {
  border-color: #E5AD00;
  background: #fffbeb;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 41, 55, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
}
.modal-backdrop[hidden] {
  display: none !important;
}
.modal-dialog {
  background: #ffffff;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.modal-close {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
}

/* 80% Mobile Drawer & Backdrop Specifications */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31, 41, 55, 0.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.sidebar-overlay.is-open,
.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .workspace-layout {
    display: block;
    width: 100%;
    overflow-x: hidden;
  }
  .workspace-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80vw;
    max-width: 286px;
    height: 100dvh;
    z-index: 9999;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(253, 248, 230, 0.99) 100%);
    transform: translateX(-105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 16px 0 45px rgba(31, 41, 55, 0.18);
  }
  .workspace-sidebar.is-open {
    transform: translateX(0);
  }
  .jm-mobile-drawer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .jm-avatar-meta {
    display: none;
  }
  .jm-avatar-circle {
    width: 42px;
    height: 42px;
  }
  .cbt-attempt-grid,
  .cbt-admin-review-grid {
    grid-template-columns: 1fr !important;
  }
}

.jm-avatar-menu-btn { font-family: inherit; }
.jm-tour-copy { display: flex; flex-direction: column; gap: 6px; }

/* Step 1: Student Mock Test mobile table safety */
.workspace-body .table-responsive {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.workspace-body .table-responsive .workspace-table {
  min-width: 900px;
}


/* Daily Goals: prominent state controls and AJAX feedback */
.target-row.jm-goal-form{position:relative;align-items:center;min-height:82px;padding:15px 16px;gap:14px;transition:background .18s,border-color .18s,opacity .18s}
.target-row.jm-goal-form.is-done{background:linear-gradient(100deg,#effaf1,#f8fff8);border-color:#86d49b}
.jm-goal-form .target-check{width:auto;min-width:108px;min-height:42px;padding:0 12px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff8df;border:1.5px solid #d49b0b;color:#805800;font-size:12px;font-weight:850;box-shadow:0 3px 10px rgba(176,126,0,.09)}
.jm-goal-form .target-check:hover{box-shadow:0 6px 14px rgba(176,126,0,.16);transform:translateY(-1px)}
.jm-goal-form .target-check:focus-visible{outline:3px solid rgba(217,165,28,.32);outline-offset:3px}
.jm-goal-form .target-check-icon{font-size:17px;line-height:1}
.jm-goal-form .target-check-label{white-space:nowrap}
.jm-goal-form.is-done .target-check{background:#16834b;border-color:#16834b;color:#fff;box-shadow:0 4px 12px rgba(22,131,75,.16)}
.jm-goal-form.is-done .target-info strong{color:#647568!important}
.jm-goal-form.is-saving{opacity:.72}
.jm-goal-form button:disabled{cursor:wait;opacity:.72}
.jm-goal-feedback{position:fixed;z-index:1000;right:22px;bottom:22px;max-width:min(390px,calc(100vw - 32px));padding:13px 18px;border:1px solid #b9dfc2;border-radius:14px;background:#f0fff3;color:#17663a;box-shadow:0 12px 35px rgba(20,45,30,.16);font-size:13px;font-weight:750}
.jm-goal-feedback.is-error{background:#fff4f1;border-color:#f0c0b5;color:#9b2c19}
@media(max-width:620px){.target-row.jm-goal-form{flex-wrap:wrap;align-items:flex-start}.jm-goal-form .target-check{min-width:100px}.jm-goal-form .target-hours{margin-left:auto}}
