/* Scoped to the cases sidebar; shared page styles remain unchanged. */
.directory-page .library-aside > .scys-trial {
  display: block;
  height: auto;
  padding: 28px 24px 0;
  color: #f4f8ff;
  background: #102b46 !important;
  border: 1px solid #25425e;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
}
.directory-page .scys-trial .scys-brand {
  margin: 0 0 10px;
  color: #a9c6df;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
}
.directory-page .scys-trial .trial-kicker {
  margin: 0;
  color: #f4f8ff;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -.03em;
}
.directory-page .scys-trial .scys-copy {
  margin: 14px 0 24px;
  color: #b9cddd;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.directory-page .scys-trial .scys-qr {
  position: static;
  width: min(100%, 224px);
  height: auto;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}
.directory-page .scys-trial .scys-qr::before { content: none; }
.directory-page .scys-trial .scys-qr img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
}
.directory-page .scys-trial .scys-qr-empty {
  display: grid;
  place-items: center;
  min-height: 192px;
  color: #a9c6df;
  background: transparent;
  font-size: 13px;
  font-weight: 400;
}
.directory-page .scys-trial .scys-stats dd { overflow-wrap: anywhere; }
.directory-page .scys-trial .trial-subtitle {
  margin: 16px 0 24px !important;
  color: #b9cddd !important;
  font-size: 13px !important;
}
.directory-page .scys-trial .scys-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid #365069;
}
.directory-page .scys-trial .scys-stats div + div { border-left: 1px solid #365069; }
.directory-page .scys-trial .scys-stats dt { color: #a9c6df; font-size: 12px; }
.directory-page .scys-trial .scys-stats dd {
  margin: 6px 0 0;
  color: #f4f8ff;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.directory-page .scys-trial:focus-visible { outline: 3px solid #71b9ef; outline-offset: 4px; }
@media (max-width: 1000px) {
  .directory-page .library-aside > .scys-trial { grid-column: 1 / -1; }
}
