/* LEARNWARE Premium Canvas Theme · 2026-10-14
   Open-source Canvas LMS; institution theme CSS, version 1.0
   Change scope: presentation ONLY; no exam deadlines, grades or permissions.
   Use Canvas Admin -> Themes -> Upload CSS, preview and test before Apply.
   Rollback: reapply earlier Canvas theme CSS.
*/
:root {
  --lw-ink:#13253d;
  --lw-muted:#586b80;
  --lw-navy:#102e52;
  --lw-blue:#2575e6;
  --lw-ice:#e8f4ff;
  --lw-line:#dfe9f3;
  --lw-surface:#fff;
  --lw-shadow:0 7px 28px rgba(17,46,87,.075);
  --lw-radius:16px;
}
/* typography and clean content workspace */
body, .ic-app, .ic-Layout-contentMain, .ic-Layout-contentWrapper {
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Arial,sans-serif;
  color:var(--lw-ink);
}
body { background:#f7fafd; }
.ic-Layout-contentMain {background:#f7fafd;}
h1,h2,h3,.page-title {font-weight:700;letter-spacing:-.026em;color:var(--lw-ink);}
a {text-underline-offset:2px;}
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline:3px solid #6ba6f1 !important;outline-offset:3px;
}
/* left global rail: guard against invisible icons under previous custom CSS */
.ic-app-header, .ic-app-header__main-navigation {background:var(--lw-navy) !important;}
.ic-app-header .ic-app-header__menu-list-link,
.ic-app-header .ic-app-header__menu-list-link:visited,
.ic-app-header .ic-app-header__menu-list-link .menu-item__text,
.ic-app-header .ic-app-header__menu-list-link .ic-icon-svg,
.ic-app-header .ic-app-header__menu-list-link svg,
.ic-app-header .ic-app-header__menu-list-link i {
  color:#edf5ff !important;
  fill:currentColor;
}
.ic-app-header .ic-app-header__menu-list-link:hover,
.ic-app-header .ic-app-header__menu-list-link:focus,
.ic-app-header .ic-app-header__menu-list-link--active,
.ic-app-header .ic-app-header__menu-list-item.ic-app-header__menu-list-item--active .ic-app-header__menu-list-link {
  background:#215287 !important;
  color:#fff !important;
  border-radius:11px 0 0 11px;
}
.ic-app-header .ic-app-header__menu-list-link--active .ic-icon-svg,
.ic-app-header .ic-app-header__menu-list-link--active svg,
.ic-app-header .ic-app-header__menu-list-link--active .menu-item__text {color:#fff !important;}
/* ensure recognizable contrast for a selected item even if Canvas overrides fill */
.ic-app-header__menu-list-link--active * {color:#fff !important;}
/* course navigation */
.ic-app-course-menu,.ic-Layout-contentSecondary {background:#fff;}
.ic-app-course-menu a,.ic-app-course-menu .menu-item__text {color:#36506a;}
.ic-app-course-menu a:hover,.ic-app-course-menu a:focus {color:#0b5fca;}
/* module container redesign */
.context_module,
.item-group-container,
.ig-list,
.context_module .ig-list {
  background:#fff;
  border-color:var(--lw-line);
  border-radius:var(--lw-radius);
}
.context_module {box-shadow:var(--lw-shadow);margin:0 0 17px;overflow:hidden;}
.context_module .ig-header,
.context_module .ig-header-title,
.item-group-container .ig-header {
  color:var(--lw-ink);background:#f4f8ff;
}
.context_module .ig-header {padding:12px 16px;border-bottom:1px solid var(--lw-line);}
.context_module .ig-header .name,.context_module .ig-header-title {
  font-weight:700;letter-spacing:-.015em;
}
.context_module .ig-row,
.context_module .ig-list li,
.item-group-container .ig-row {border-color:#ecf1f7;background:#fff;}
.context_module .ig-row:hover,
.item-group-container .ig-row:hover {background:#f7fbff;}
.context_module .ig-row a,.context_module a.ig-title {color:#173e69;font-weight:550;}
/* course pages and assignments */
.show-content,.user_content,.assignment-title,.ig-details {line-height:1.6;}
.user_content table {border-collapse:collapse;max-width:100%;}
.user_content th,.user_content td {padding:.6rem .8rem;border-color:#dce7f2;}
.user_content img {max-width:100%;height:auto;}
/* controls without falsifying status badges */
.Button--primary,.btn-primary,button.btn-primary {background:#1e66c8;border-color:#1e66c8;}
.Button--primary:hover,.btn-primary:hover,button.btn-primary:hover {background:#154f9f;border-color:#154f9f;}
/* responsive: mobile navigation is controlled by Canvas */
@media(max-width:760px){
 .context_module {border-radius:12px;margin-bottom:12px;}
 .context_module .ig-header{padding:10px 12px;}
 .ic-Layout-contentMain{padding-left:8px;padding-right:8px;}
 .user_content table{display:block;overflow-x:auto;}
}
/* reduced motion and accessibility */
@media(prefers-reduced-motion:no-preference){
 .context_module,.Button--primary,.btn-primary {transition:box-shadow .16s ease,background-color .16s ease;}
 .context_module:hover{box-shadow:0 12px 32px rgba(17,46,87,.095);}
}
