/* Shared portal subscription notice: only paid datasets, no modal backdrop. */
.shr-access-notice[hidden],
.shr-access-notice-mini[hidden] { display: none !important; }
.shr-access-notice {
  position: fixed;
  z-index: 70;
  top: clamp(130px, 27vh, 270px);
  right: max(16px, calc((100vw - 1510px) / 2));
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100dvh - 160px);
  pointer-events: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #10253f;
}
.shr-access-notice-panel {
  box-sizing: border-box;
  width: 100%;
  overflow-y: auto;
  max-height: calc(100dvh - 160px);
  padding: 20px 20px 21px;
  border: 1px solid #d8e2ed;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 32px rgb(6 27 56 / 15%);
  pointer-events: auto;
}
.shr-access-notice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.shr-access-notice-lock {
  display: grid !important;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e7f1ff;
  color: #044b8e;
  font-size: 27px !important;
}
.shr-access-notice-collapse {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5fa;
  color: #36516e;
  cursor: pointer;
}
.shr-access-notice-collapse:hover,
.shr-access-notice-mini:hover { background: #e3eefb; }
.shr-access-notice-panel h2 {
  margin: 0 0 12px;
  color: #101c30;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}
.shr-access-notice-description {
  margin: 0 0 15px;
  color: #21334a;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.shr-access-notice-period {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 11px 12px;
  border-radius: 7px;
  background: #eaf3ff;
  color: #093967;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}
.shr-access-notice-period[hidden] { display: none; }
.shr-access-notice-period .material-symbols-outlined { font-size: 22px; }
.shr-access-notice-action {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 13px 12px;
  border: 1px solid #003d76;
  border-radius: 7px;
  background: #053d73;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
}
.shr-access-notice-action:hover { background: #07518f; }
.shr-access-notice-footnote {
  margin: 13px 0 0;
  color: #56708b;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.shr-access-notice-mini {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid #ccdef1;
  border-radius: 50%;
  background: white;
  box-shadow: 0 6px 22px rgb(6 27 56 / 16%);
  color: #064678;
  cursor: pointer;
  pointer-events: auto;
}
.shr-access-notice-mini .material-symbols-outlined { font-size: 24px; }
.shr-access-notice.is-collapsed .shr-access-notice-panel { display: none; }
@media (max-width: 760px) {
  .shr-access-notice {
    top: auto;
    bottom: 16px;
    right: 12px;
    width: min(320px, calc(100vw - 24px));
    max-height: min(70dvh, 540px);
  }
  .shr-access-notice-panel {
    max-height: min(70dvh, 540px);
    padding: 16px;
  }
  .shr-access-notice-panel h2 { font-size: 17px; }
}
