
:root {
  --navy: #07154f;
  --navy-2: #0a1e62;
  --blue: #0d62ff;
  --blue-dark: #0055f4;
  --green: #43a73b;
  --text: #07134d;
  --muted: #47547a;
  --border: #dce4f0;
  --surface: #ffffff;
  --sidebar-width: 258px;
  --topbar-height: 74px;
}

/* Common ExamTier student shell */
.app-shell{display:block;padding-left:258px;transition:padding-left .25s ease}
.sidebar{width:258px;overflow-x:hidden;transition:width .25s ease}
.brand{height:126px;min-height:126px;padding:0 25px;border:0;display:flex;align-items:center;justify-content:center}
.brand a{display:flex;width:100%;align-items:center;justify-content:center}
.brand-logo{display:block;width:164px;height:auto;object-fit:contain}
.brand-mark{display:none;width:40px;height:40px;object-fit:contain}
.side-nav{padding:0 18px 18px;display:flex;flex-direction:column;gap:4px}
.side-nav hr{width:100%;height:1px;border:0;background:#dce4ef;margin:8px 0}
.nav-item{min-height:43px;padding:0 12px;border-radius:8px;gap:14px;font-size:14px;font-weight:500;flex-shrink:0}
.nav-item>i{width:20px;text-align:center;font-size:17px;color:#001e5d;flex:0 0 20px}
.nav-item.active{color:#0864ed;background:#eaf3ff}
.nav-item.active::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:#1671ff}
.nav-item.active>i{color:#0864ed}
.nav-badge{margin-left:auto;width:22px;height:22px}
.main-column{min-width:0}
.topbar{height:74px;padding:0 34px 0 30px}
.top-search{width:min(540px,46vw);height:43px;margin-left:105px;margin-right:auto}
.top-actions{gap:22px}
.notification-btn svg{width:21px;height:21px}
.profile-wrap{position:relative}
.profile-trigger{border:0;background:transparent;display:flex;align-items:center;gap:11px;padding:5px 0;color:var(--navy);font-family:inherit}
.avatar{width:39px;height:39px;background:#2f7cf6;color:#fff;overflow:hidden}
.avatar img{display:none;width:100%;height:100%;object-fit:cover}
.avatar>i{font-size:18px;color:#fff}
.profile-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;min-width:74px}
.profile-copy strong{font-size:14px;font-weight:700}.profile-copy small{font-size:11px;color:#687696;margin-top:3px}
.profile-dropdown{position:absolute;right:0;top:calc(100% + 11px);width:212px;padding:10px;background:#fff;border:1px solid #dce4ef;border-radius:11px;box-shadow:0 12px 30px rgba(11,31,79,.14);display:none;z-index:100}
.profile-dropdown.open{display:block}
.profile-dropdown a{display:flex;align-items:center;gap:13px;min-height:43px;padding:0 10px;border-radius:7px;text-decoration:none;color:#10245f;font-size:14px;font-weight:500}
.profile-dropdown a:hover{background:#f1f6ff;color:#075fff}
.profile-dropdown svg{width:22px;height:22px;stroke-width:2.2}
.profile-dropdown hr{height:1px;border:0;background:#dce4ef;margin:5px 0}
.profile-dropdown a.danger{color:#e62f3b}
.page-content{padding:28px 30px 24px}

.sidebar.collapsed{width:78px}
.app-shell.sidebar-collapsed{padding-left:78px}
.sidebar.collapsed .brand{height:126px;min-height:126px;padding:0 14px}
.sidebar.collapsed .brand-logo{display:none}.sidebar.collapsed .brand-mark{display:block;width:40px;height:40px}
.sidebar.collapsed .side-nav{padding:0 12px 18px;gap:4px}
.sidebar.collapsed .nav-item{justify-content:center;min-height:43px;padding:0;gap:0}
.sidebar.collapsed .nav-item span,.sidebar.collapsed .nav-item .nav-badge{display:none}
.sidebar.collapsed .nav-item::after{content:attr(data-tooltip);position:fixed;left:86px;padding:7px 10px;border-radius:6px;background:#0a1f5d;color:#fff;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;transform:translateX(-4px);transition:.15s;z-index:200}
.sidebar.collapsed .nav-item:hover::after{opacity:1;transform:none}

@media(max-width:1040px){.app-shell{padding-left:0}.sidebar{width:258px;transform:translateX(-100%);transition:transform .25s ease}.sidebar.open{transform:translateX(0)}.sidebar.collapsed{width:258px}.sidebar.collapsed .brand-logo{display:block}.sidebar.collapsed .brand-mark{display:none}.sidebar.collapsed .side-nav{padding:0 18px 18px}.sidebar.collapsed .nav-item{justify-content:flex-start;padding:0 12px;gap:14px}.sidebar.collapsed .nav-item span,.sidebar.collapsed .nav-item .nav-badge{display:flex}.sidebar.collapsed .nav-item::after{display:none}.top-search{margin-left:24px}.page-content{padding:24px 20px}}
@media(max-width:700px){.topbar{padding:0 16px}.top-search{display:none}.top-actions{margin-left:auto}.profile-copy{display:none}.page-heading-row{align-items:flex-start}.toolbar{align-items:stretch;flex-direction:column}.notification-search{width:100%}}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar-width);
  height: 100vh;
  background: #fff;
  border-right: 1px solid #e0e5ef;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.brand {
  min-height: 84px;
  padding: 19px 28px 12px;
  border-bottom: 1px solid #e5e9f1;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.8px;
  white-space: nowrap;
}

.brand-name span:first-child {
  color: #0a1554;
}

.brand-name span:last-child {
  color: #48a837;
  margin-left: 2px;
}

.brand-tagline {
  margin-top: 7px;
  color: #07154e;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.side-nav {
  padding: 17px 9px 0;
}

.nav-item {
  position: relative;
  min-height: 53px;
  padding: 0 15px 0 18px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: #07154e;
  font-size: 14px;
  font-weight: 500;
  transition: background .18s, color .18s;
}

.nav-item:hover {
  background: #f4f7fd;
}

.nav-item svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
  flex: 0 0 auto;
}

.nav-item.active {
  color: #075aff;
  background: #edf3ff;
}

.nav-badge {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #f23a3a;
  font-size: 11px;
  font-weight: 700;
}

.nav-divider {
  height: 1px;
  background: #dce2ec;
  margin: 2px 15px 3px;
}

.promo-card {
  margin: 19px 20px 20px;
  padding: 12px 14px 15px;
  border: 1px solid #bdd8ff;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(180deg, #fafdff 0%, #f8fbff 100%);
}

.promo-visual {
  width: 96px;
  height: 96px;
  margin: 0 auto 1px;
  position: relative;
  display: grid;
  place-items: center;
}

.promo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #f8fcff 45%, #e1f2ff 46%, #d4ecff 72%, transparent 73%);
}

.promo-visual svg {
  position: relative;
  z-index: 2;
  width: 47px;
  height: 47px;
  stroke: #0739b8;
  stroke-width: 2.4;
  transform: rotate(-12deg);
}

.spark {
  position: absolute;
  z-index: 3;
  width: 5px;
  height: 17px;
  border-radius: 4px;
  background: #ffb100;
}

.spark-1 {
  top: 7px;
  left: 50px;
  transform: rotate(5deg);
}

.spark-2 {
  top: 23px;
  right: 9px;
  transform: rotate(48deg);
  height: 13px;
}

.spark-3 {
  top: 21px;
  left: 11px;
  transform: rotate(-40deg);
  height: 12px;
}

.promo-card h3 {
  margin: 0 0 9px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.promo-card p {
  margin: 0 auto 15px;
  color: #4a587c;
  font-size: 12px;
  line-height: 1.75;
  max-width: 170px;
}

.primary-btn {
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #1769ff, #0057f5);
  color: #fff;
  font-weight: 600;
}

.promo-btn {
  width: 100%;
  height: 36px;
  font-size: 13px;
}

.main-column {
  grid-column: 2;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  padding: 0 28px 0 22px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e2e7ef;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: var(--navy);
  display: grid;
  place-items: center;
  padding: 0;
}

.menu-btn {
  width: 32px;
  height: 32px;
}

.menu-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.top-search {
  position: relative;
  width: 330px;
  height: 45px;
  margin-left: auto;
  margin-right: 28px;
}

.top-search input {
  width: 100%;
  height: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 7px;
  outline: none;
  padding: 0 46px 0 16px;
  color: var(--text);
  font-size: 14px;
  background: #fff;
}

.top-search svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  color: #07165a;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 23px;
}

.notification-btn {
  position: relative;
  width: 31px;
  height: 40px;
}

.notification-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.top-badge {
  position: absolute;
  top: 2px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 10px;
  background: #f13039;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.profile-menu {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  padding: 0;
}

.avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: linear-gradient(145deg, #eff1f5, #cfd6e1);
  display: grid;
  place-items: center;
}

.avatar svg {
  width: 24px;
  height: 24px;
  color: #07154f;
  fill: #07154f;
  stroke-width: 1.5;
}

.profile-name {
  font-size: 14px;
  font-weight: 500;
}

.chevron {
  width: 17px;
  height: 17px;
}

.page-content {
  padding: 29px 28px 12px 30px;
}

.page-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.page-heading-row h1 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.45px;
  font-weight: 700;
}

.page-heading-row p {
  margin: 0;
  color: #39466f;
  font-size: 14px;
}

.outline-btn {
  height: 43px;
  padding: 0 17px;
  border-radius: 7px;
  border: 1.5px solid #075dff;
  background: #fff;
  color: #075dff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.outline-btn svg {
  width: 19px;
  height: 19px;
}

.section-rule {
  height: 1px;
  background: #dfe5ee;
  margin: 27px 0 15px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.filter-tab {
  height: 40px;
  padding: 0 21px;
  border-radius: 7px;
  border: 1px solid #d9e1ed;
  background: #fff;
  color: #172658;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(12, 34, 85, .03);
}

.filter-tab.active {
  color: #fff;
  border-color: #0c62ff;
  background: linear-gradient(180deg, #126bff, #0059f5);
}

.notification-search {
  position: relative;
  width: 260px;
  height: 40px;
  flex: 0 0 auto;
}

.notification-search input {
  width: 100%;
  height: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  outline: none;
  padding: 0 42px;
  color: var(--text);
  font-size: 12px;
}

.notification-search svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  color: #526084;
}

.notification-search svg:first-child {
  left: 14px;
}

.notification-search svg:last-child {
  right: 14px;
}

.notification-list {
  display: grid;
  gap: 8px;
}

.notification-card[hidden],
#emptyState[hidden] {
  display:none !important;
}

.notification-card {
  min-height: 108px;
  border: 1px solid #e0e6ef;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 67px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.notification-card:hover {
  border-color: #b9d2ff;
  box-shadow: 0 4px 18px rgba(30, 74, 153, .07);
  transform: translateY(-1px);
}

.notification-card.unread {
  border-color: #bfd5ff;
  background: linear-gradient(100deg, #f7faff 0%, #fff 62%);
}

.type-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.type-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 2;
}

.type-icon.blue {
  background: #e7efff;
  color: #115cff;
}

.type-icon.green {
  background: #e5f6e9;
  color: #28933e;
}

.type-icon.orange {
  background: #fff0df;
  color: #ff7b0a;
}

.type-icon.purple {
  background: #f0e6ff;
  color: #8e22f7;
}

.type-icon.red {
  background: #ffe7ea;
  color: #e5264d;
}

.type-icon.light-blue {
  background: #eef5ff;
  color: #075be5;
}

.notification-copy {
  align-self: center;
  min-width: 0;
}

.title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 7px;
}

.title-line h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.24;
  letter-spacing: -.2px;
  font-weight: 700;
  color: #07154d;
}

.new-badge {
  padding: 4px 8px;
  border-radius: 5px;
  background: #eaf1ff;
  color: #075fff;
  font-size: 10px;
  font-weight: 700;
}

.notification-copy p {
  margin: 0 0 9px;
  color: #31406d;
  font-size: 14px;
  line-height: 1.35;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}

.category-pill.blue {
  color: #075be7;
  background: #e8f0ff;
}

.category-pill.green {
  color: #20803d;
  background: #e1f4e5;
}

.category-pill.orange {
  color: #f36700;
  background: #fff0df;
}

.category-pill.purple {
  color: #7a17eb;
  background: #f1e7ff;
}

.category-pill.red {
  color: #e32948;
  background: #ffe4e7;
}

.category-pill.light-blue {
  color: #0759de;
  background: #e8f0ff;
}

.notification-meta {
  min-width: 115px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: #465278;
  font-size: 12px;
  white-space: nowrap;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0b62ff;
}

.status-dot.read {
  width: 10px;
  height: 10px;
  background: #6d7898;
}

.pagination {
  width: max-content;
  min-height: 50px;
  margin: 15px auto 0;
  padding: 6px 9px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #24325c;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.pagination button.active {
  color: #fff;
  background: linear-gradient(180deg, #176bff, #0055f5);
}

.pagination button svg {
  width: 17px;
}

.pagination span {
  width: 32px;
  text-align: center;
  color: #526083;
  font-size: 13px;
}

.empty-state {
  margin: 40px 0;
  text-align: center;
  color: #5e6989;
}

@media (max-width: 1260px) {
  :root {
    --sidebar-width: 220px;
  }

  .brand {
    padding-left: 22px;
  }

  .toolbar {
    align-items: flex-start;
  }

  .notification-search {
    width: 230px;
  }

  .filter-tab {
    padding: 0 14px;
  }
}

@media (max-width: 1050px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 12px 0 30px rgba(0, 20, 70, .12);
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .main-column {
    grid-column: 1 / -1;
  }

  .app-shell {
    display: block;
  }

  .toolbar {
    flex-direction: column;
  }

  .notification-search {
    width: 100%;
    max-width: 390px;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 0 16px;
  }

  .top-search {
    display: none;
  }

  .top-actions {
    margin-left: auto;
    gap: 14px;
  }

  .profile-name {
    display: none;
  }

  .page-content {
    padding: 22px 16px 16px;
  }

  .page-heading-row {
    flex-direction: column;
  }

  .outline-btn {
    align-self: flex-end;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-tab {
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .notification-card {
    grid-template-columns: 51px minmax(0, 1fr);
    gap: 13px;
    padding: 15px;
  }

  .type-icon {
    width: 49px;
    height: 49px;
    border-radius: 14px;
  }

  .type-icon svg {
    width: 25px;
    height: 25px;
  }

  .notification-meta {
    grid-column: 2;
    justify-content: flex-start;
    min-width: 0;
  }

  .title-line h2 {
    font-size: 14px;
  }

  .notification-copy p {
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .page-heading-row h1 {
    font-size: 23px;
  }

  .outline-btn {
    width: 100%;
    justify-content: center;
  }

  .notification-card {
    grid-template-columns: 1fr;
  }

  .type-icon {
    display: none;
  }

  .notification-meta {
    grid-column: 1;
  }

  .pagination button {
    width: 33px;
    height: 33px;
  }
}

/* Final common-shell precedence */
@media (min-width:1051px){
  .app-shell{display:block;padding-left:258px;transition:padding-left .25s ease}
  .app-shell.sidebar-collapsed{padding-left:78px}
  .sidebar{width:258px;transform:none;transition:width .25s ease}
  .sidebar.collapsed{width:78px}
  .sidebar.collapsed .brand{height:126px;min-height:126px;padding:0 14px}
  .sidebar.collapsed .brand-logo{display:none}.sidebar.collapsed .brand-mark{display:block;width:40px;height:40px}
  .sidebar.collapsed .side-nav{padding:0 12px 18px;gap:4px}
  .sidebar.collapsed .nav-item{justify-content:center;min-height:43px;padding:0;gap:0}
  .sidebar.collapsed .nav-item span,.sidebar.collapsed .nav-item .nav-badge{display:none}
}

/* Professional notification filter toolbar */
@media (min-width:1101px){
  .toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) 240px;
    align-items:center;
    gap:18px;
    margin-bottom:16px;
  }
  .filter-tabs{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:8px;
    min-width:0;
  }
  .filter-tab{
    height:40px;
    padding:0 14px;
    border-radius:7px;
    font-size:12px;
    font-weight:600;
    flex:0 1 auto;
  }
  .notification-search{
    width:240px;
    justify-self:end;
  }
}

@media (min-width:1051px) and (max-width:1180px){
  .toolbar{
    grid-template-columns:1fr;
    gap:12px;
  }
  .notification-search{
    width:280px;
    grid-row:1;
    justify-self:end;
  }
  .filter-tabs{
    grid-row:2;
  }
}
.sidebar{overflow-x:hidden}.brand{height:126px;min-height:126px;padding:0 25px;border:0;display:flex;align-items:center;justify-content:center}.brand a{display:flex;width:100%;align-items:center;justify-content:center}.brand-logo{display:block;width:164px;height:auto}.brand-mark{display:none;width:40px;height:40px}.side-nav{padding:0 18px 18px;display:flex;flex-direction:column;gap:4px}.side-nav hr{width:100%;height:1px;border:0;background:#dce4ef;margin:8px 0}.nav-item{min-height:43px;padding:0 12px;border-radius:8px;gap:14px;font-size:14px}.nav-item>i{width:20px;text-align:center;font-size:17px;color:#001e5d;flex:0 0 20px}.nav-item.active{color:#0864ed;background:#eaf3ff}.nav-item.active::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:#1671ff}.nav-item.active>i{color:#0864ed}.promo-card{display:none}.topbar{height:74px;padding:0 34px 0 30px}.top-search{width:min(540px,46vw);height:43px;margin-left:105px;margin-right:auto}.profile-wrap{position:relative}.profile-trigger{border:0;background:transparent;display:flex;align-items:center;gap:11px;padding:5px 0;color:var(--navy)}.avatar{width:39px;height:39px;background:#2f7cf6;color:#fff;overflow:hidden}.avatar img{display:none;width:100%;height:100%;object-fit:cover}.avatar>i{font-size:18px;color:#fff}.profile-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;min-width:74px}.profile-copy strong{font-size:14px}.profile-copy small{font-size:11px;color:#687696;margin-top:3px}.profile-dropdown{position:absolute;right:0;top:calc(100% + 11px);width:212px;padding:10px;background:#fff;border:1px solid #dce4ef;border-radius:11px;box-shadow:0 12px 30px rgba(11,31,79,.14);display:none;z-index:100}.profile-dropdown.open{display:block}.profile-dropdown a{display:flex;align-items:center;gap:13px;min-height:43px;padding:0 10px;border-radius:7px;text-decoration:none;color:#10245f;font-size:14px;font-weight:500}.profile-dropdown a:hover{background:#f1f6ff;color:#075fff}.profile-dropdown svg{width:22px;height:22px;stroke-width:2.2}.profile-dropdown hr{height:1px;border:0;background:#dce4ef;margin:5px 0}.profile-dropdown a.danger{color:#e62f3b}.page-content{padding:28px 30px 24px}
@media(max-width:1050px){.app-shell{display:block;padding-left:0}.sidebar{width:258px}.sidebar.open{transform:translateX(0)}.brand-logo{display:block}.brand-mark{display:none}.top-search{margin-left:24px}}

/* Match expanded Dashboard logo and first-menu spacing */
.sidebar:not(.collapsed){padding:22px 18px}
.sidebar:not(.collapsed) .brand{height:auto;min-height:78px;padding:2px 6px 18px;justify-content:flex-start}
.sidebar:not(.collapsed) .brand a{display:inline-flex;width:auto;justify-content:flex-start}
.sidebar:not(.collapsed) .brand-logo{width:175px;max-width:100%}
.sidebar:not(.collapsed) .side-nav{padding:0;gap:6px}
.sidebar:not(.collapsed) .nav-item{min-height:0;padding:12px}
.sidebar:not(.collapsed) .side-nav hr{width:calc(100% - 16px);margin:10px 8px}
.top-badge{right:-2px;top:-2px;width:18px;min-width:18px;height:18px;padding:0;border-radius:50%;font-size:10px}

/* Common sidebar scrollbar */
.sidebar{
  scrollbar-width:thin;
  scrollbar-color:#b8c2d2 transparent;
}
.sidebar::-webkit-scrollbar{
  width:6px;
}
.sidebar::-webkit-scrollbar-track{
  background:transparent;
}
.sidebar::-webkit-scrollbar-thumb{
  background:#b8c2d2;
  border-radius:20px;
}
.sidebar::-webkit-scrollbar-thumb:hover{
  background:#8f9db2;
}

/* Match Dashboard collapsed sidebar exactly */
@media (min-width:1051px){
  .sidebar.collapsed{
    width:78px;
    padding:12px;
    overflow:visible;
  }
  .sidebar.collapsed .brand{
    height:58px;
    min-height:58px;
    padding:0 0 12px;
  }
  .sidebar.collapsed .brand a{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
  }
  .sidebar.collapsed .brand-mark{
    width:38px;
    height:38px;
    object-fit:contain;
  }
  .sidebar.collapsed .side-nav{
    padding:0;
    gap:4px;
  }
  .sidebar.collapsed .nav-item{
    width:54px;
    min-height:0;
    padding:10px;
    border-radius:7px;
    position:relative;
    overflow:visible;
  }
  .sidebar.collapsed .nav-item>i{
    width:22px;
    flex-basis:22px;
  }
  .sidebar.collapsed .side-nav hr{
    margin:8px 5px;
    width:44px;
  }
  .sidebar.collapsed .nav-item::after{
    position:absolute;
    left:calc(100% + 13px);
    top:50%;
    transform:translate(6px,-50%);
    padding:8px 11px;
    border-radius:6px;
    background:#0b1f5e;
    color:#fff;
    font-size:12px;
    font-weight:600;
    line-height:1;
    white-space:nowrap;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    box-shadow:0 6px 18px rgba(11,31,94,.2);
    transition:opacity .15s ease,transform .15s ease,visibility .15s;
    z-index:200;
  }
  .sidebar.collapsed .nav-item:hover::after,
  .sidebar.collapsed .nav-item:focus-visible::after{
    opacity:1;
    visibility:visible;
    transform:translate(0,-50%);
  }
}
/* Shared header notification control */
.bell,.bell-button,.notification-button,.notification-btn,.bell-btn{position:relative;width:38px;height:38px;padding:8px;border:0;border-radius:8px;background:transparent;color:#0b1f5e;text-decoration:none;display:grid;place-items:center;flex:0 0 38px}
.bell:hover,.bell-button:hover,.notification-button:hover,.notification-btn:hover,.bell-btn:hover{background:#f2f6ff}
.bell>i,.bell-button>i,.notification-button>i,.notification-btn>i,.bell-btn>i{font-size:19px;line-height:1;color:#0b1f5e}
.bell>svg,.bell-button>svg,.notification-button>svg,.notification-btn>svg,.bell-btn>svg{width:19px;height:19px;stroke-width:2}
.bell>b,.bell-button>b,.notification-button>span,.notification-btn>.notification-dot,.notification-btn>.top-badge,.bell-btn>span{position:absolute;right:-2px;top:-2px;width:18px;min-width:18px;height:18px;padding:0;border:2px solid #fff;border-radius:50%;background:#ef3030;color:#fff;font-size:10px;font-weight:700;line-height:14px;display:grid;place-items:center}
/* Shared secondary-page breadcrumb */
.page-breadcrumb{display:flex;align-items:center;gap:9px;margin:0 0 16px;color:#687696;font-size:12px;font-weight:500;line-height:1.2}
.page-breadcrumb a{color:#1769ff;text-decoration:none}
.page-breadcrumb a:hover{text-decoration:underline}
.page-breadcrumb>span:first-of-type{color:#9aa7bd;font-size:16px;line-height:12px}
.page-breadcrumb>span:last-child{color:#687696}


/* =========================================================
   Shared student top-right profile standard
========================================================= */
.profile-trigger{
  gap:10px !important;
  padding:5px 7px !important;
  border-radius:9px !important;
  background:transparent !important;
  text-align:left !important;
  transition:background .18s ease !important;
}
.profile-trigger:hover,
.profile-trigger:focus-visible{
  background:#f2f6ff !important;
  outline:none !important;
}
.avatar{
  width:39px !important;
  height:39px !important;
  min-width:39px !important;
  flex:0 0 39px !important;
  border-radius:50% !important;
}
.profile-copy{
  min-width:104px !important;
  max-width:180px !important;
  line-height:1.25 !important;
}
.profile-copy strong{
  display:block !important;
  max-width:180px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
}
.profile-copy small{
  margin-top:3px !important;
  font-size:11px !important;
  line-height:1.2 !important;
}
.profile-trigger .chevron{
  width:14px !important;
  height:14px !important;
  min-width:14px !important;
  flex:none !important;
}

/* Compact notification list with readable message hierarchy. */
.notification-card{min-height:88px;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;padding:14px 18px;border-radius:10px;align-items:start}
.notification-card:hover{transform:none}
.notification-card .type-icon{width:40px;height:40px;border-radius:11px;margin-top:2px}
.notification-card .type-icon svg{width:21px;height:21px}
.notification-card .title-line{margin-bottom:5px;gap:8px}
.notification-card .title-line h2{font-size:14px;font-weight:600;line-height:1.45;letter-spacing:0}
.notification-card .notification-copy p{font-size:12.5px;line-height:1.6;color:#62718a;margin:0 0 7px;overflow-wrap:anywhere;white-space:pre-wrap}
.notification-card .category-pill{min-height:19px;padding:2px 8px;font-size:10px;border-radius:5px}
.notification-card .new-badge{padding:2px 6px;font-size:9px}
.notification-card .notification-meta{align-self:center;font-size:11px}
@media(max-width:700px){.notification-card{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:12px 14px}.notification-card .type-icon{width:34px;height:34px}.notification-card .type-icon svg{width:19px;height:19px}.notification-card .notification-meta{grid-column:2}.notification-card .title-line h2{font-size:13px}}
@media(max-width:430px){.notification-card{grid-template-columns:1fr}.notification-card .notification-meta{grid-column:1}}
