/* Three library scenes, rounded exam controls, and depth on enterprise cards. */
.blue-refined .cq-hero[data-scene] {
  --scene-base: #eef6ff;
  --scene-light: #e0ecfb;
  --scene-shadow: #73a1cd33;
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 320px;
  padding: 38px 46px;
  background: radial-gradient(ellipse at 76% 77%, var(--scene-light), transparent 43%), linear-gradient(115deg, #f7fbff, var(--scene-base));
}
.blue-refined .cq-hero[data-scene="collect"] { --scene-base: #edf5ff; --scene-light: #b4d1f5; --scene-shadow: #4181d030; }
.blue-refined .cq-hero[data-scene="notes"] { --scene-base: #eef2ff; --scene-light: #dbe5fa; --scene-shadow: #748cbc29; }
.blue-refined .cq-hero[data-scene]::before {
  inset: auto 2% -46% auto;
  width: 55%;
  height: 130%;
  border: 1px solid #ffffffb5;
  border-radius: 50%;
  background: #ffffff30;
  mask-image: none;
  transform: rotate(-16deg);
  box-shadow: 0 0 0 25px #fff3, 0 0 0 49px #ffffff20;
}
.blue-refined .cq-hero[data-scene] > :not(.study-scene) { max-width: 48%; position: relative; z-index: 1; }
.blue-refined .cq-hero[data-scene] h1 { font-size: clamp(38px,5vw,56px); line-height: 1.2; letter-spacing: -.045em; margin: 18px 0 12px; }
.blue-refined .cq-hero[data-scene] .sub { font-size: 16px; line-height: 1.8; color: #43617c; }
.blue-refined .study-scene {
  display: block;
  position: absolute;
  right: 3.5%;
  bottom: 11px;
  width: min(48%, 530px);
  height: calc(100% - 24px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 13px 10px var(--scene-shadow));
  pointer-events: none;
}
.blue-refined .cq-tab.on { box-shadow: 0 3px 8px #28527612, inset 0 -2px #4c6bca; }

.blue-refined .study-icon {
  --icon-back: #e7f2ff;
  --icon-ink: #2e6699;
  --icon-rim: #c6dff5;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: var(--icon-ink);
  background: linear-gradient(160deg,#ffffffbd,transparent 75%), var(--icon-back);
  border: 1px solid var(--icon-rim);
  border-radius: 11px;
  box-shadow: inset 0 1px #fff, 0 2px 0 #253d6310;
  vertical-align: middle;
  pointer-events: none;
}
.blue-refined .study-icon svg { width: 18px; height: 18px; }
.blue-refined .study-icon[data-tone="coral"] { --icon-back:#d9e1fa; --icon-ink:#2848a8; --icon-rim:#b9c7f3; }
.blue-refined .study-icon[data-tone="gold"] { --icon-back:#cfe1f8; --icon-ink:#144b8e; --icon-rim:#a5c4ea; }
.blue-refined .study-icon[data-tone="lilac"] { --icon-back:#e9effc; --icon-ink:#516897; --icon-rim:#cedcf7; }
.blue-refined .study-icon[data-tone="mint"] { --icon-back:#e1edf4; --icon-ink:#225570; --icon-rim:#c4d8e3; }
.blue-refined .exam-top .timer, .blue-refined .exam-top .btn-submit,
.blue-refined .ans-card .t, .blue-refined .q-note .nh, .blue-refined .exp-box .h,
.blue-refined .exp-fix, .blue-refined .q-pending, .blue-refined .ans-card-acts .btn,
.blue-refined .ans-modal__btn:has(.study-icon) { display: flex; align-items: center; gap: 8px; }
.blue-refined .exam-top .btn-submit { padding: 6px 12px; border-radius: 12px; }
.blue-refined .ans-card .t > span:not(.study-icon) { margin-left: auto; }
.blue-refined .exam-modes .em { gap: 5px; padding: 9px 5px; border-radius: 13px; white-space: normal; }
.blue-refined .exam-modes .em .study-icon { width: 22px; height: 22px; flex-basis: 22px; border-radius: 8px; }
.blue-refined .exam-modes .em .study-icon svg { width: 15px; height: 15px; }
.blue-refined .exam-modes .em .dot { display: none; }
.blue-refined .exam-modes .em.on { background: #ecf0fc; color: #2e499b; box-shadow: inset 0 -2px #718ad6; }
.blue-refined .ans-card .n { border-radius: 11px; }
.blue-refined .exam-wrap .q-note .nh { flex-wrap: wrap; }
.blue-refined .exam-wrap .q-note .nh .badge { font-size: 12px; }
.blue-refined .exam-wrap .exp-box { border: 1px solid #d5e2e9; }
.blue-refined .q-bar .btn:has(.study-icon) { padding: 7px 12px; border-radius: 12px; }
.blue-refined .q-bar .primary .study-icon { --icon-back:#ffffff35; --icon-ink:white; --icon-rim:#ffffff50; background:var(--icon-back); box-shadow:none; }
.blue-refined .q-bar .btn .study-icon { width: 25px; height: 25px; flex-basis: 25px; border-radius: 9px; }
.blue-refined .q-bar .btn .study-icon svg { width: 16px; height: 16px; }
.blue-refined .exam-wrap .q-empty .ico .study-icon { width: 44px; height: 44px; border-radius: 15px; }
.blue-refined .exam-wrap .q-empty .ico .study-icon svg { width: 25px; height: 25px; }

/* Keep eight distinguishable patterns. Add a bevel and projected shadow on the art side. */
.blue-refined .hub-paper { box-shadow: 0 6px 15px #264c7610, 0 2px 0 #b9cfe280; }
.blue-refined .hub-paper .pcover[data-cover-style] {
  --depth: #5f91c454;
  --toplight: #f7fcff;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 1px #fff, inset 0 -12px 22px #4975a112;
}
.blue-refined .hub-paper .pcover[data-cover-style]::before {
  content: '';
  display: block !important;
  position: absolute;
  inset: auto -14% -24% auto;
  width: 68%;
  height: 88%;
  z-index: -1;
  border: 1px solid #ffffff8c;
  border-radius: 23%;
  transform: rotate(-22deg) skewX(-8deg);
  background: linear-gradient(146deg, #ffffffa0, var(--toplight) 28%, transparent 73%), var(--depth);
  box-shadow: -5px 11px 0 var(--depth), -10px 17px 24px #315e862d, inset -3px -3px 12px #36699b28, inset 2px 2px 0 #fff9;
}
.blue-refined .hub-paper .pcover[data-cover-style]::after {
  content: '';
  display: block !important;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(105deg,#f7fbffed 0%,#f7fbff9e 38%,transparent 74%);
}
.blue-refined .hub-paper .pcover[data-cover-style="0"]::before { border-radius: 50%; inset: -26% -23% auto auto; height: 108%; transform: rotate(-18deg); }
.blue-refined .hub-paper .pcover[data-cover-style="1"]::before { border-radius: 13%; inset: -10% -22% auto auto; height: 120%; transform: rotate(19deg); }
.blue-refined .hub-paper .pcover[data-cover-style="2"] { --depth:#568fad5e; --toplight:#eef8fd; }
.blue-refined .hub-paper .pcover[data-cover-style="2"]::before { border-radius: 12%; inset: auto -19% -13% auto; width: 58%; transform: rotate(-33deg); }
.blue-refined .hub-paper .pcover[data-cover-style="3"] { --depth:#768cb855; --toplight:#f1f5fd; }
.blue-refined .hub-paper .pcover[data-cover-style="3"]::before { border-radius: 50% 13% 22% 50%; inset: auto -22% -10% auto; transform: rotate(-5deg); }
.blue-refined .hub-paper .pcover[data-cover-style="4"] { --depth:#5a94bd49; }
.blue-refined .hub-paper .pcover[data-cover-style="4"]::before { border-radius: 50% 38% 0 0; inset: auto -17% -37% auto; width: 95%; height: 74%; transform: rotate(-14deg); }
.blue-refined .hub-paper .pcover[data-cover-style="5"] { --depth:#6994b550; }
.blue-refined .hub-paper .pcover[data-cover-style="5"]::before { border-radius: 12%; inset: auto -21% -26% auto; width: 61%; transform: rotate(12deg) skewY(-9deg); }
.blue-refined .hub-paper .pcover[data-cover-style="6"] { --depth:#818ac456; --toplight:#f2f6fd; }
.blue-refined .hub-paper .pcover[data-cover-style="6"]::before { border-radius: 12%; width: 62%; height: 97%; inset: auto -12% -25% auto; transform: rotate(41deg); }
.blue-refined .hub-paper .pcover[data-cover-style="7"]::before { border-radius: 90% 0 18% 25%; inset: auto -12% -20% auto; width: 70%; height: 90%; transform: rotate(-9deg); }
.blue-refined .hub-paper .pcover[data-cover-style] .brand-art { z-index: 0; }
@media (max-width:760px) {
  .blue-refined .cq-hero[data-scene] { min-height: 0; padding: 22px 20px 4px; }
  .blue-refined .cq-hero[data-scene] > :not(.study-scene) { max-width: 100%; }
  .blue-refined .cq-hero[data-scene] h1 { font-size: 34px; margin: 11px 0 5px; }
  .blue-refined .cq-hero[data-scene] .sub { font-size: 13px; }
  .blue-refined .study-scene { position: relative; right: auto; bottom: auto; justify-self: center; width: min(96%, 380px); height: clamp(146px,46vw,215px); margin-top: 10px; }
  .blue-refined .q-bar .btn:has(.study-icon) { padding-inline: 7px; gap: 4px; }
  .blue-refined .q-bar .btn .study-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .blue-refined .hub-paper .pcover[data-cover-style]::after { background: linear-gradient(105deg,#f7fbfff2 0%,#f7fbff8f 55%,transparent 90%); }
}
.blue-refined .q-opt.wrong { background: #edf2ff; color: #254893; outline: 1px dashed #5e79ba; outline-offset: -2px; }
.blue-refined :is(.ans-grid .n.wrong, .legend i.wrong) { background: #eef2fb; color: #294b91; border: 1px dashed #5775b0; }
.blue-refined :is(.ans-grid .n.right, .legend i.right) { background: #16719e; color: #fff; border-color: #16719e; }

