/* Bridge current Razor migration markup onto the legacy Admin visual language. */
html,
body {
  min-height: 100%;
}

body {
  color: #3f4348;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.page-background-light {
  background-color: #fdfcfc;
}

body.page-background-default {
  background-color: #fff;
}

main.container-fluid.layout-main,
main.layout-main {
  flex: 1 0 auto;
  padding: 0 0 70px;
  display: flex;
  flex-direction: column;
}

.wrapper .main {
  padding-left: 0;
  padding-right: 0;
}

.legacy-admin-main {
  padding: 0 15px 70px;
}

.layout-main > .wrapper,
.layout-main > .legacy-admin-main {
  flex: 1 1 auto;
}

.wrapper,
.page-content-host,
.legacy-admin-main {
  min-height: 100%;
}

.page-background-light main.container-fluid.layout-main,
.page-background-light main.layout-main,
.page-background-light .page-content-host,
.page-background-light .legacy-admin-main,
.page-background-light.passport-account-shell,
.page-background-light.passport-account-shell .wrapper,
.page-background-light.passport-account-shell .main,
.page-background-light.passport-account-shell .passport-site-main {
  background-color: #fcfcfc;
}

.page-background-default main.container-fluid.layout-main,
.page-background-default main.layout-main,
.page-background-default .page-content-host,
.page-background-default .legacy-admin-main,
.page-background-default.passport-account-shell,
.page-background-default.passport-account-shell .wrapper,
.page-background-default.passport-account-shell .main,
.page-background-default.passport-account-shell .passport-site-main {
  background-color: #fff;
}

.header-avatar {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f2ab45;
  color: #fff;
  font-weight: 600;
}

.header-avatar-button {
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-avatar-button:hover,
.header-avatar-button:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.td-user-profile-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.td-user-profile-image .profile-image,
.td-user-profile-image .profile-image-sm,
.td-user-profile-image .profile-image-xs,
.td-user-profile-image .profile-image-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.td-user-profile-image .profile-image {
  width: 60px;
  height: 60px;
  line-height: 60px;
}

.td-user-profile-image .profile-image-sm {
  width: 35px;
  height: 35px;
  line-height: 35px;
}

.td-user-profile-image .profile-image-xs {
  width: 24px;
  height: 24px;
  line-height: 24px;
}

.td-user-profile-image .profile-image-lg {
  width: 72px;
  height: 72px;
  line-height: 72px;
}

.td-user-profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.td-user-profile-image .initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  line-height: 1;
}

.td-user-profile-image .initials-sm {
  font-size: 17px;
}

.td-user-profile-image .initials-xs {
  font-size: 12px;
}

.td-user-profile-image .initials-lg {
  font-size: 30px;
}

.passport-profile-shell {
  max-width: 1180px;
}

.passport-profile-shell-narrow {
  max-width: 760px;
}

.passport-profile-page-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2a3b4f;
}

.passport-profile-hero {
  border-radius: 22px;
  border: 1px solid #e7edf2;
  background:
    radial-gradient(circle at top right, rgba(76, 132, 255, 0.10), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fbfdff 62%, #f4f8fc 100%);
}

.passport-profile-eyebrow {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #738094;
  margin-bottom: .45rem;
  font-weight: 600;
}

.passport-profile-nav {
  gap: .65rem;
}

.passport-profile-nav .nav-link {
  border-radius: 999px;
  padding: .5rem .95rem;
  color: #556274;
  background: transparent;
  font-weight: 500;
}

.passport-profile-nav .nav-link:hover,
.passport-profile-nav .nav-link:focus {
  color: #223246;
  background: #f5f7fb;
}

.passport-profile-nav .nav-link.active {
  color: #174e3d;
  background: #e7f4ee;
}

.passport-profile-panel {
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  background: #fff;
}

.passport-profile-panel-title {
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7b8794;
  font-weight: 700;
  margin-bottom: 1rem;
}

.passport-profile-signature {
  min-height: 170px;
}

.header-avatar:hover,
.header-avatar:focus {
  background: #e7a038;
  color: #fff;
}

.header-user-menu {
  width: 160px;
  padding: 0;
  overflow: hidden;
}

.header-user-menu .dropdown-item {
  padding: .85rem 1rem;
}

.header-user-summary {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
  background: #fff;
}

.header-user-summary .header-avatar {
  width: 60px;
  height: 60px;
  margin-bottom: .75rem;
  font-size: 1.7rem;
}

.passport-app-switcher-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.passport-app-switcher-icon {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  align-items: center;
  justify-items: center;
}

.passport-app-switcher-icon span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  display: block;
}

.passport-app-switcher-toggle:hover,
.passport-app-switcher-toggle:focus {
  background: #f3f4f6;
  color: #3f4348;
}

.passport-app-switcher-menu {
  width: 190px;
  padding: .35rem 0;
}

.passport-app-switcher-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem;
}

.passport-app-switcher-item.active {
  background: transparent;
  color: #3f4348;
  font-weight: 600;
}

.passport-app-switcher-current {
  font-size: .72rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.passport-site-navbar .navbar-brand {
  padding-top: .1rem;
  padding-bottom: .1rem;
}

.passport-brand {
  display: inline-flex;
  align-items: center;
  gap: .82rem;
  color: #153c67;
  text-decoration: none;
}

.passport-brand__mark {
  position: relative;
  width: 1.9rem;
  height: 2.15rem;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.16));
}

.passport-brand__facet {
  position: absolute;
  border-radius: .42rem;
  transform: skewY(-14deg);
}

.passport-brand__facet--a {
  left: 0;
  top: .2rem;
  width: .72rem;
  height: 1.72rem;
  background: linear-gradient(180deg, #1fb6d9 0%, #0b8fc0 100%);
}

.passport-brand__facet--b {
  left: .58rem;
  top: 0;
  width: .78rem;
  height: 2rem;
  background: linear-gradient(180deg, #1f9bd4 0%, #1171c4 100%);
}

.passport-brand__facet--c {
  right: 0;
  top: .34rem;
  width: .58rem;
  height: 1.44rem;
  background: linear-gradient(180deg, #6be0ef 0%, #2bb4db 100%);
}

.passport-brand__word {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  color: #213d63;
  text-rendering: geometricPrecision;
}

.passport-site-navbar {
  min-height: 62px;
}

.passport-site-nav {
  gap: 4px;
}

.passport-site-nav .nav-link {
  color: #3f4348;
  font-size: 1rem;
  padding-left: .8rem;
  padding-right: .8rem;
}

.passport-site-nav .nav-link.active {
  color: #000;
  font-weight: 500;
}

.passport-site-main {
  padding-left: 0;
  padding-right: 0;
}

.passport-account-shell {
  min-height: 100%;
}

.passport-account-shell .main {
  background-color: inherit;
}

.passport-account-shell .sidebar,
.admin-shell .sidebar,
.affiliation-shell .sidebar {
  top: 61px;
  background: #fbfbfb;
  border-right: 1px solid #e7ecf2;
  padding-top: .5rem;
}

.passport-account-shell .sidebar,
.admin-shell .sidebar {
  bottom: 46px;
}

.affiliation-shell .sidebar {
  bottom: 0;
}

.affiliation-shell .sidebar .nav-link,
.admin-shell .sidebar .nav-link,
.passport-account-shell .sidebar .nav-link,
.passport-account-shell .sidebar .nav-link.btn,
.affiliation-shell .sidebar .nav-link:hover,
.affiliation-shell .sidebar .nav-link:focus,
.admin-shell .sidebar .nav-link:hover,
.admin-shell .sidebar .nav-link:focus,
.passport-account-shell .sidebar .nav-link:hover,
.passport-account-shell .sidebar .nav-link:focus,
.passport-account-shell .sidebar .nav-link.btn:hover,
.passport-account-shell .sidebar .nav-link.btn:focus {
  text-decoration: none;
}

.affiliation-shell .sidebar .nav-link,
.admin-shell .sidebar .nav-link,
.passport-account-shell .sidebar .nav-link,
.passport-account-shell .sidebar .nav-link.btn {
    font-size: 0.95rem;
    color: #2f3a46;
    border-radius: 0;
    transition: background-color .16s ease, color .16s ease;
    padding: .78rem 1rem;
}

.affiliation-shell .sidebar .nav-link:hover,
.affiliation-shell .sidebar .nav-link:focus,
.admin-shell .sidebar .nav-link:hover,
.admin-shell .sidebar .nav-link:focus,
.passport-account-shell .sidebar .nav-link:hover,
.passport-account-shell .sidebar .nav-link:focus,
.passport-account-shell .sidebar li.with-sub span.nav-link .btn:hover,
.passport-account-shell .sidebar li.with-sub span.nav-link .btn:focus {
  background-color: #f6f7f9;
  color: #1f2933;
}

.affiliation-shell .wrapper,
.affiliation-shell .main,
.affiliation-shell .affiliation-main {
  min-height: 100%;
}

.affiliation-shell .navbar {
  min-height: 59px;
}

.passport-account-shell .navbar-secondarynav-fixed {
  left: 225px;
  width: calc(100% - 225px);
  right: 0;
  padding-right: 1rem;
}

.passport-account-shell .sidebar li.with-sub span.nav-link .btn {
  background: transparent;
  color: #2f3a46;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: .75rem 1rem;
  text-align: left;
}

.passport-account-shell .sidebar li.with-sub span.nav-link .btn:focus {
  box-shadow: none;
}

.passport-account-shell .sidebar li.with-sub span.nav-link {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.passport-account-shell .sidebar li.with-sub span.nav-link .btn:not(.float-end) {
  flex: 1 1 auto;
}

.passport-account-shell .sidebar li.with-sub span.nav-link .btn.float-end {
    flex: 0 0 auto;
    padding: .75rem .9rem;
}

.passport-account-shell .sidebar li.with-sub.opened > span.nav-link:not(.active) {
    background-color: transparent !important;
}

.passport-account-shell .sidebar li.with-sub.opened > span.nav-link:not(.active) .btn:not(.active) {
    background-color: transparent !important;
    color: #2f3a46;
}

.passport-account-shell .sidebar li.with-sub.opened > span.nav-link:not(.active) .btn:not(.active):hover {
    background-color: #f6f7f9 !important;
}

.affiliation-shell .sidebar .nav-link.active,
.admin-shell .sidebar .nav-link.active,
.passport-account-shell .sidebar li.with-sub span.nav-link .btn.active,
.passport-account-shell .sidebar li.with-sub.opened > span.nav-link .btn.active,
.passport-account-shell .sidebar li.with-sub > span.nav-link.active,
.passport-account-shell .sidebar .nav-link.active {
    background-color: #f7e7a6;
    color: #241d08;
    box-shadow: inset 4px 0 0 #d3a318;
    font-weight: 400;
}

.briefcase-search-slot {
  flex: 0 1 260px;
  width: 260px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.briefcase-search-form {
  width: 100%;
  min-width: 0;
}

.briefcase-search-form .input-group {
  width: 100%;
  flex-wrap: nowrap;
  min-width: 0;
}

.briefcase-search-form .form-control,
.briefcase-search-form .btn {
  height: 34px;
}

.briefcase-search-form .form-control {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .briefcase-search-slot {
    width: 100%;
    min-width: 0;
  }

  .briefcase-search-form {
    justify-content: stretch !important;
  }
}

.briefcase-drop-zone {
  border: 2px dashed #8a8d91;
  background: #fff;
  color: #3f4348;
}

.briefcase-drop-zone:hover {
  background: #f8f9fa;
  color: #3f4348;
}

.briefcase-drop-zone__icon {
  font-size: 2rem;
}

.briefcase-drop-zone__title {
  font-size: 1.15rem;
  font-weight: 500;
}

.briefcase-upload-zone {
  border: 2px dashed #8a8d91;
  border-radius: .5rem;
  background: #f8f9fa;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.briefcase-upload-zone:hover,
.briefcase-upload-zone.is-dragover {
  background: #eef5ff;
  border-color: #0d6efd;
}

.briefcase-upload-zone__icon {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: #495057;
}

.briefcase-upload-zone__title {
  font-size: 1.15rem;
  font-weight: 500;
}

.briefcase-picker-meta {
  padding: .5rem .25rem 0;
}

.briefcase-picker-destination {
  font-weight: 500;
}

.briefcase-picker-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .1rem;
  min-height: 32px;
}

.briefcase-picker-path-link {
  text-decoration: none;
}

.briefcase-picker-path-current {
  font-weight: 500;
}

.briefcase-picker-browser {
  min-height: 340px;
}

.briefcase-picker-browser__toolbar {
  padding: .75rem 1rem;
  border-bottom: 1px solid #dee2e6;
  background: #f8f9fa;
}

.briefcase-picker-browser__toolbar .btn.active {
  font-weight: 500;
  color: #0d6efd;
}

.briefcase-picker-empty {
  padding: 2rem 1rem;
  color: #6c757d;
  text-align: center;
}

.briefcase-picker-row {
  padding: 1rem 1.25rem;
  border: 0;
  border-bottom: 1px solid #eef0f2;
}

.briefcase-picker-row:last-child {
  border-bottom: 0;
}

.briefcase-picker-row__icon {
  font-size: 1.5rem;
  color: #495057;
}

.briefcase-picker-row__name {
  font-weight: 500;
  color: #212529;
}

.briefcase-picker-row__meta {
  font-size: .875rem;
  color: #6c757d;
}

.briefcase-destination-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: .375rem;
  padding: .75rem;
  background: #fff;
}

.briefcase-destination-option {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0;
  padding: .35rem .25rem;
}

.briefcase-destination-option span {
  white-space: pre-wrap;
}

.briefcase-revision-row:last-child,
.briefcase-notification-row:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}


.passport-desktop-card {
  display: block;
  min-height: 120px;
}

.passport-dashboard {
  padding-bottom: 1.25rem;
}

.passport-dashboard-hero {
  display: block;
  margin-bottom: 1.75rem;
}

.passport-dashboard-hero__copy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 540px at -6% 18%, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.88) 28%, rgba(255,255,255,0) 29%),
    radial-gradient(860px 420px at 58% 118%, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.58) 36%, rgba(255,255,255,0) 37%),
    linear-gradient(180deg, #e7f2ee 0%, #f3f8f5 100%);
  border: 1px solid #dde9e4;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(77, 97, 87, 0.05);
}

.passport-dashboard-hero__copy {
  padding: 1.9rem 1.95rem;
}

.passport-dashboard-hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 73% 20%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 18%),
    linear-gradient(135deg, rgba(255,255,255,0) 58%, rgba(222, 236, 230, 0.72) 58%, rgba(222, 236, 230, 0.72) 74%, rgba(255,255,255,0) 74%);
  pointer-events: none;
}

.passport-dashboard-hero__copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 2% -4%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.55) 10%, rgba(255,255,255,0) 10.6%),
    radial-gradient(circle at 2% -4%, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 12.5%, rgba(255,255,255,0.58) 12.7%, rgba(255,255,255,0.58) 13.1%, rgba(255,255,255,0) 13.3%),
    radial-gradient(circle at 2% -4%, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 16.2%, rgba(255,255,255,0.46) 16.4%, rgba(255,255,255,0.46) 16.75%, rgba(255,255,255,0) 16.95%),
    radial-gradient(circle at 98% 72%, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 10.5%, rgba(255,255,255,0.5) 10.7%, rgba(255,255,255,0.5) 11.05%, rgba(255,255,255,0) 11.25%),
    radial-gradient(circle at 98% 72%, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 14.2%, rgba(255,255,255,0.38) 14.4%, rgba(255,255,255,0.38) 14.7%, rgba(255,255,255,0) 14.9%);
  opacity: .65;
  pointer-events: none;
}

.passport-dashboard-hero__eyebrow {
  position: relative;
  z-index: 1;
  color: rgba(43, 72, 64, 0.62);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}

.passport-dashboard-hero__title {
  position: relative;
  z-index: 1;
  font-size: 2.35rem;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: #173c37;
}

.passport-dashboard-hero__subtitle {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  color: #536d67;
  font-size: 1.02rem;
  line-height: 1.65;
}

.passport-site-navbar + main + footer .footer-container,
.passport-account-shell + footer .footer-container,
footer .footer-container {
  min-height: 44px;
  padding: .55rem 1.35rem;
  background: #fbfbfb;
  border-top: 1px solid #e6ebf2;
  color: #7b8592;
}

footer .footer-container a {
  color: #667487;
  text-decoration: none;
}

footer .footer-container a:hover,
footer .footer-container a:focus {
  color: #31465f;
  text-decoration: none;
}

.passport-dashboard-column {
  display: grid;
  gap: 1.5rem;
}

.passport-desktop-module {
  min-height: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: box-shadow .18s ease, border-color .18s ease;
}

.passport-desktop-module:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  border-color: #d4dde8;
}

.passport-desktop-module__header {
  padding: 1.05rem 1.15rem .9rem;
  border-bottom: 1px solid #edf2f7;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.passport-desktop-module__titlewrap {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.passport-desktop-module__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .98rem;
  flex: 0 0 auto;
}

.passport-desktop-module__title {
  color: #223246;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.passport-desktop-module__caption {
  color: #8390a2;
  font-size: .82rem;
  margin-top: .18rem;
}

.passport-desktop-module__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
}

.passport-desktop-module__count {
  min-width: 30px;
  height: 30px;
  padding: 0 .65rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5ebf2;
  color: #617285;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}

.passport-desktop-module__link {
  color: #708197;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.passport-desktop-module__link:hover {
  color: #31465f;
  text-decoration: none;
}

.passport-desktop-module--blue .passport-desktop-module__header {
  border-top: 6px solid #3a7bd5;
}

.passport-desktop-module--teal .passport-desktop-module__header {
  border-top: 6px solid #1f9ea8;
}

.passport-desktop-module--amber .passport-desktop-module__header {
  border-top: 6px solid #d38b15;
}

.passport-desktop-module--gold .passport-desktop-module__header {
  border-top: 6px solid #d3a112;
}

.passport-desktop-module--plum .passport-desktop-module__header {
  border-top: 6px solid #8754b8;
}

.passport-desktop-module--slate .passport-desktop-module__header {
  border-top: 6px solid #667d95;
}

.passport-desktop-module--neutral .passport-desktop-module__header {
  border-top: 6px solid #8b96a3;
}

.passport-desktop-module__body {
  padding: .25rem 1.15rem 1rem;
  background: #fff;
}

.passport-desktop-module--blue .passport-desktop-module__icon {
  color: #2e6bc7;
  background: #eff5ff;
}

.passport-desktop-module--teal .passport-desktop-module__icon {
  color: #1f8a92;
  background: #ebf9f8;
}

.passport-desktop-module--amber .passport-desktop-module__icon {
  color: #b27414;
  background: #fff5e4;
}

.passport-desktop-module--gold .passport-desktop-module__icon {
  color: #9b790e;
  background: #fff8d9;
}

.passport-desktop-module--plum .passport-desktop-module__icon {
  color: #764aa3;
  background: #f6f0fb;
}

.passport-desktop-module--slate .passport-desktop-module__icon {
  color: #567089;
  background: #f2f6fa;
}

.passport-desktop-module--neutral .passport-desktop-module__icon {
  color: #6c757d;
  background: #f2f4f6;
}

.passport-desktop-module .table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.passport-desktop-module .table > :not(caption) > * > * {
  padding: .72rem .35rem;
  border-bottom-color: #edf1f5;
  vertical-align: top;
}

.passport-desktop-module .table.table-borderless > :not(caption) > * > * {
  border-bottom-color: transparent;
}

.passport-desktop-module .table.table-sm > :not(caption) > * > * {
  padding-top: .45rem;
  padding-bottom: .45rem;
}

.passport-desktop-links-table > :not(caption) > * > * {
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}

.passport-desktop-module .table thead th {
  color: #748397;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  border-top: 0;
}

.passport-desktop-module .border-bottom {
  border-bottom-color: #edf1f5 !important;
}

.passport-desktop-list {
  display: flex;
  flex-direction: column;
}

.passport-desktop-list__item {
  padding: .9rem 0;
  border-bottom: 1px solid #edf1f5;
}

.passport-desktop-list__item:first-child {
  padding-top: .7rem;
}

.passport-desktop-list__item:last-child {
  border-bottom: 0;
  padding-bottom: .2rem;
}

.passport-desktop-module a {
  text-decoration: none;
}

.passport-desktop-module a:hover {
  text-decoration: underline;
}

.passport-desktop-module h5 {
  font-size: 1.08rem;
}

.passport-desktop-announcement__title,
.passport-desktop-file__title {
  font-size: 1rem;
  line-height: 1.42;
}

.passport-desktop-announcement__meta,
.passport-desktop-file__meta {
  color: #7d8b9b;
  font-size: .86rem;
  margin-bottom: .28rem;
}

.passport-desktop-announcement__author,
.passport-desktop-file__label {
  color: #4e77ab;
  font-weight: 600;
}

.passport-desktop-announcement__body {
  color: #556476;
  font-size: .93rem;
  line-height: 1.58;
  margin-top: .2rem;
}

.passport-desktop-file__icon {
  width: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: .5rem;
}

.passport-desktop-file {
  align-items: flex-start;
  gap: .55rem;
}

.passport-desktop-file__icon .fa-fw {
  width: auto;
}

.passport-desktop-file__icon [class*="fa-file"] {
  padding-right: 0 !important;
  line-height: 1;
  font-size: 1.62rem;
}

.passport-desktop-file__icon .fa-file-word {
  color: #2b62d8;
}

.passport-desktop-file__icon .fa-file-excel {
  color: #1f8a4d;
}

.passport-desktop-file__icon .fa-file-powerpoint {
  color: #d5642b;
}

.passport-desktop-file__icon .fa-file-pdf {
  color: #d14343;
}

.passport-desktop-file__icon .fa-file-image {
  color: #8a5bd1;
}

.passport-desktop-file__icon .fa-file-video {
  color: #d14ea3;
}

.passport-desktop-file__icon .fa-file-audio {
  color: #0f9c95;
}

.passport-desktop-file__icon .fa-file-zipper,
.passport-desktop-file__icon .fa-file-archive {
  color: #b87716;
}

.passport-desktop-file__icon .fa-file-lines,
.passport-desktop-file__icon .fa-file {
  color: #60748a;
}

.passport-desktop-file__project {
  font-size: .88rem;
  margin-bottom: .15rem;
}

.passport-desktop-module .badge {
  border-radius: 999px;
  padding: .38rem .62rem;
  font-weight: 600;
}


.passport-chart-widget {
  min-height: 220px;
}

.passport-issues-chart-widget__stat {
  height: 100%;
  border: 1px solid #e9eef5;
  border-radius: 14px;
  padding: .8rem .6rem;
  background: #fbfcfe;
}

.passport-issues-chart-widget__label {
  font-weight: 600;
  color: #334255;
  margin-bottom: .2rem;
}

.passport-issues-chart-widget__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #253448;
}

.passport-dashboard-empty {
  border: 1px solid #dee5ee;
  border-radius: 18px;
}

.passport-dashboard-empty__icon {
  color: #5f7ea3;
  font-size: 2rem;
}

.passport-dashboard-empty__title {
  color: #253448;
  font-size: 1.2rem;
  font-weight: 600;
}

.passport-dashboard-empty__body {
  color: #677487;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

.passport-desktop-sortable {
  background-color: #f7f7f9;
  border: solid 1px #dcdcdc;
  border-radius: 3px;
  min-height: 400px;
  padding: 8px;
}

.passport-desktop-sortable .list-group-item:hover {
  cursor: move;
}

.global-progress-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(248, 249, 250, 0.55);
}

.global-progress-overlay.is-visible {
  display: flex;
}

.global-progress-box {
  min-width: 260px;
  max-width: 360px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.page-card,
.surface-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 10px;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.page-card {
  margin: 16px 0;
  padding: 20px;
}

.surface-card {
  padding: 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 16px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head > div:first-child > *:last-child,
.hero > div > *:last-child {
  margin-bottom: 0;
}

.kicker,
.badge-soft,
.subtle-label {
  display: inline-block;
  color: #6c757d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.badge-soft {
  background-color: #eef5ff;
  border-radius: 999px;
  padding: 4px 10px;
}

.hero__title,
.page-card h1,
.page-card h2,
.page-card h3 {
  color: #3f4348;
}

.hero__title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.hero__lede,
.muted {
  color: #6c757d;
}

.hero__actions,
.topbar__nav,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolbar {
  align-items: end;
  margin-bottom: 16px;
}

.toolbar > div {
  min-width: 220px;
}

.toolbar input,
.toolbar select {
  width: 100%;
}

.btn-accent,
.btn-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: .375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-accent {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.btn-accent:hover {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
  text-decoration: none;
}

.btn-muted {
  background-color: #fff;
  border-color: #ced4da;
  color: #212529;
}

.btn-muted:hover {
  background-color: #ececec;
  color: #212529;
  text-decoration: none;
}

.tile-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat {
  font-size: 1.75rem;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background-color: #f5f5f5;
}

.status-pill--ok {
  background-color: #e9f7ef;
  color: #198754;
}

.status-pill--warn {
  background-color: #fff3cd;
  color: #997404;
}

.error-state {
  border: 1px solid #f5c2c7;
  background-color: #f8d7da;
  color: #842029;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.empty-state {
  border: 1px solid #edf2f9;
  background-color: #fbfbfb;
  border-radius: 10px;
  padding: 14px;
}

.table-shell {
  overflow-x: auto;
}

.table-shell table,
.page-card table {
  width: 100%;
  border-collapse: collapse;
}

.table-shell th,
.table-shell td,
.page-card th,
.page-card td {
  padding: 12px 8px;
  background-color: #fff;
  border-top: 1px solid #edf2f9;
  vertical-align: top;
}

.table-shell thead th,
.page-card thead th {
  font-weight: 600;
  border-top: none;
}

.table-sort-link {
  color: inherit;
  text-decoration: none;
}

.table-sort-link:hover {
  text-decoration: underline;
}

.grid-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.plain-list > div {
  padding: 8px 0;
  border-bottom: 1px solid #edf2f9;
}

.plain-list > div:last-child {
  border-bottom: none;
}

.migration-list {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 991.98px) {
  .hero,
  .section-head {
    display: block;
  }

  .section-head > div:last-child {
    margin-top: 12px;
  }

  .toolbar > div {
    min-width: 0;
    width: 100%;
  }

  .grid-pager {
    display: block;
  }

  .passport-dashboard-hero {
    display: block;
  }
}

@media (max-width: 1199.98px) {
  .calendar-week-grid {
    grid-template-columns: 1fr;
  }

  .calendar-week-column {
    border-right: 0;
    border-bottom: 1px solid #d9dee7;
  }

  .calendar-week-column:last-child {
    border-bottom: 0;
  }
}

.calendar-card {
  border: 1px solid #d9dee7;
  border-radius: 0;
}

.calendar-month-table th,
.calendar-month-table td {
  border-color: #d9dee7;
}

.calendar-month-table thead th {
  text-align: center;
  font-weight: 500;
  background: #fff;
}

.calendar-month-cell {
  vertical-align: top;
  height: 98px;
  min-width: 145px;
  background: #fff;
  padding: 10px 8px;
}

.calendar-month-cell.is-muted {
  color: #888;
}

.calendar-month-cell.is-today {
  box-shadow: inset 0 0 0 2px #5d86ff;
}

.calendar-day-number {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.calendar-month-cell.is-current-month .calendar-day-number {
  color: #1557ff;
}

.calendar-day-events {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.calendar-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #fff;
}

.calendar-week-column {
  min-width: 0;
  border-right: 1px solid #d9dee7;
}

.calendar-week-column:last-child {
  border-right: 0;
}

.calendar-week-column__header {
  padding: .9rem .85rem;
  border-bottom: 1px solid #d9dee7;
  background: #fff;
}

.calendar-week-column.is-today .calendar-week-column__header {
  background: #f3f7ff;
}

.calendar-week-column__weekday {
  font-weight: 600;
  color: #253448;
}

.calendar-week-column__date {
  color: #5d86ff;
  font-size: .92rem;
  margin-top: .15rem;
}

.calendar-week-column__body {
  min-height: 420px;
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  background: #fff;
}

.calendar-week-column__empty {
  color: #7b8795;
  font-size: .92rem;
}

.calendar-week-event {
  display: block;
  padding: .75rem;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  background: #f9fbfd;
  color: inherit;
  text-decoration: none;
}

.calendar-week-event:hover {
  text-decoration: none;
  background: #f4f8fc;
  border-color: #cdd9ea;
}

.calendar-week-event__title {
  color: #253448;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .2rem;
}

.calendar-week-event__meta {
  color: #667286;
  font-size: .85rem;
}

.calendar-week-event__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .5rem;
}

.calendar-event-link {
  display: block;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #1557ff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-event-link:hover {
  text-decoration: underline;
}

.modal-dialog-slideout {
  min-height: 100%;
  margin: 0 0 0 auto;
}

.modal.fade .modal-dialog-slideout {
  transform: translateX(100%);
}

.modal.show .modal-dialog-slideout {
  transform: translateX(0);
}

.modal-dialog-slideout .modal-content {
  min-height: 100vh;
  border-radius: 0;
}

.affiliation-home-subtitle {
  color: #7b7f85;
  font-size: 0.98rem;
}

.affiliation-progress-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
  border: 1px solid #e6e1d5;
  border-radius: 16px;
  padding: 14px 16px;
}

.affiliation-progress-label {
  color: #3f4348;
  font-weight: 500;
}

.affiliation-progress-count {
  color: #6c7278;
  font-size: 0.95rem;
}

.affiliation-progress-percent {
  color: #7a8b3a;
  font-weight: 700;
}

.affiliation-progress-bar {
  height: 8px;
  background-color: #ebe7dd;
}

.affiliation-progress-bar .progress-bar {
  background: linear-gradient(90deg, #708238 0%, #8fa54a 100%);
}

.affiliation-stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px 18px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(39, 49, 66, 0.14);
}

.affiliation-stat-card__content {
  position: relative;
  z-index: 1;
}

.affiliation-stat-card__value {
  font-size: 2.05rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 10px;
}

.affiliation-stat-card__value--money {
  font-size: 1.85rem;
}

.affiliation-stat-card__label {
  font-size: 1.15rem;
  font-weight: 500;
}

.affiliation-stat-card__meta {
  margin-top: 6px;
  font-size: 0.98rem;
  opacity: 0.95;
}

.affiliation-stat-card__icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
  opacity: 0.28;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.affiliation-stat-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: .85rem;
  font-style: normal;
  font-weight: 700;
  opacity: 1;
}

.affiliation-stat-card--teal {
  background: linear-gradient(135deg, #2f9fb3 0%, #1fbad5 100%);
}

.affiliation-stat-card--clay {
  background: linear-gradient(135deg, #b84d47 0%, #d86654 100%);
}

.affiliation-stat-card--gold {
  color: #473200;
  background: linear-gradient(135deg, #f0b81e 0%, #f6ca49 100%);
}

.affiliation-stat-card--gold .affiliation-stat-card__meta,
.affiliation-stat-card--gold .affiliation-stat-card__label,
.affiliation-stat-card--gold .affiliation-stat-card__value {
  color: #473200;
}

.affiliation-stat-card--indigo {
  background: linear-gradient(135deg, #4661c6 0%, #2f83d9 100%);
}

.affiliation-stat-card--green {
  background: linear-gradient(135deg, #417d42 0%, #57a95a 100%);
}

.form-control.datepicker,
.datepicker.form-control,
input.datepicker {
  width: 150px;
  max-width: 100%;
}
