/* pearl.css */
/* 烟晶玻璃。底色与书页材质变化独立，操作边光仅由控件的真实交互状态驱动。 */
html[data-pearl] #homeDotField { display:none; }
html[data-pearl] body {
  isolation:isolate;
  background: radial-gradient(ellipse 65% 45vh at 82% 2%, #1d2226aa, transparent 85%), #101213;
}
.pearl-ambient {position:fixed;inset:0;overflow:hidden;z-index:-1;pointer-events:none;transition:opacity .16s ease;}
.pearl-ambient::before,.pearl-ambient::after {
  content:"";position:absolute;inset:-8%;
  background:radial-gradient(ellipse 40% 51% at 90% 36%,#658f9a29,transparent 83%),
    radial-gradient(ellipse 36% 42% at 6% 88%,#86779326,transparent 87%);
}
.pearl-ambient::after {
  background:linear-gradient(118deg,transparent 8%,#89a3ad05 17%,#a5ced210 19.7%,#859bad03 23%,transparent 27%),
    radial-gradient(ellipse 27% 45% at 95% 97%,#dfbd8c0f,transparent 85%);
}
@media(prefers-reduced-motion:no-preference){
  .pearl-ambient::before {animation:pearl-room-reflect 20s ease-in-out -5s infinite alternate;}
  .pearl-ambient::after {animation:pearl-room-reflect 28s ease-in-out -14s infinite alternate-reverse;}
  @keyframes pearl-room-reflect { from{transform:translate3d(-2%,1%,0)} to{transform:translate3d(2.5%,-1.5%,0)} }
}
@media(forced-colors:active),(prefers-reduced-transparency:reduce){.pearl-ambient{display:none}}
html[data-pearl-covered] .pearl-photo-sheen,html[data-pearl-covered] .pearl-ambient::before,html[data-pearl-covered] .pearl-ambient::after {animation-play-state:paused!important}
html[data-pearl-covered] .pearl-ambient {opacity:0;visibility:hidden;transition:opacity .16s ease, visibility 0s .16s;}
/* The homepage's recognition illustration has three image sequences. Only play them while it can be read. */
html[data-pearl] details:not([open]) .process-stage__phase,
html[data-pearl] #landing.hidden .process-stage__phase,
html[data-pearl-covered] .process-stage__phase {animation:none!important}
/* A moving form owns the frame; hold the optical phase until its height settles. */
html[data-pearl-reflow] .pearl-field {animation-play-state:paused!important}
html[data-pearl] .pearl-action { position:relative; }
html[data-pearl] .pearl-action:not(.task-card),
html[data-pearl] body :is(#practiceBundle,#accountDialog,#accountHistoryDialog,#feedbackModal,#workflowShell,#delivery,.result-view,.admin-workspace) :is(button:not(.task-card,.step-item),a.primary,a.secondary),
html[data-pearl] body :is(#accountNav,#accountStrip) button {
  border-radius: 999px;
}
html[data-pearl] #landing .landing-actions .task-card { border-radius:26px; }
html[data-pearl] #landing .task-art { border-radius:50%; }
/* Neutral control surfaces remain on their native elements. The optical layer is a sibling. */
html[data-pearl] #landing .landing-actions .task-card::after,
html[data-pearl] .glass-composer::before,html[data-pearl] .glass-composer::after {content:none!important}
html[data-pearl] .glass-composer {animation:none!important;border-radius:22px;}
html[data-pearl] #landing .landing-actions .task-card {
  border:1px solid #414448!important;
  box-shadow:inset 0 1px #ffffff08,0 9px 22px #0002!important;
}
html[data-pearl] body :is(#practiceFields,#accountForm,#feedbackModal,#workflowShell,#delivery,.result-view,.admin-workspace) .pearl-field,
html[data-pearl] body .pearl-field {
  border:1px solid #45484a!important; border-radius:var(--pearl-radius,999px)!important;
  background:#191c1e!important; box-shadow:none!important;
  color:#ecf0f0; min-width:0; max-width:100%;
}
html[data-pearl] body .pearl-field:not(select) {padding-inline:18px;}
html[data-pearl] body textarea.pearl-field {--pearl-radius:22px;padding:13px 18px;}
html[data-pearl] body select.pearl-field {appearance:auto;padding-inline:16px 10px;}
html[data-pearl] body .pearl-field[aria-invalid=true],
html[data-pearl] body .pearl-field:user-invalid {border-color:#c98083!important;}
html[data-pearl] body .pearl-field:focus,
html[data-pearl] body .pearl-action:focus {outline:none!important;}
html[data-pearl][data-pearl-keyboard] body :is(.pearl-action,.pearl-field):focus-visible {
  outline:2px solid #9cbcc4!important;outline-offset:3px;
}
.pearl-beam-host {position:relative;}
.pearl-beam[hidden] {display:none!important;}
/* Border Beam 1.4.1, md/colorful/dark. Runtime CSS, adapted for native controls.
MIT License

Copyright (c) 2026 Jakub Antalik

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

@property --beam-angle-pearl {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: true;
}



.pearl-beam {
  position:absolute; display:block; box-sizing:border-box; overflow:hidden;
  pointer-events:none; z-index:3; margin:0; padding:0; border:0;
  border-radius:var(--pearl-corner,16px);
  --beam-strength:.7; --beam-opacity-pearl:1;
  opacity:0; transition:opacity .5s ease;
  animation:beam-spin-pearl 1.96s linear infinite;
}
/* The three home entry cards share a shelf; their optical layers sit beside them. */
html[data-pearl] #landing .landing-actions > .pearl-beam {--beam-strength:.84;}
.pearl-beam[data-active] {opacity:1; transition-duration:.6s}
.pearl-beam::before,.pearl-beam::after,.pearl-beam-bloom {box-sizing:border-box;}
 .pearl-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: max(0px,calc(var(--pearl-corner,16px) - 1px));
  padding: 1px;
  clip-path: inset(0 round var(--pearl-corner,16px));
  background: conic-gradient(
        from var(--beam-angle-pearl),
        transparent 0%, transparent 54%,
        rgba(255, 255, 255, 0.1) 57%,
        rgba(255, 255, 255, 0.3) 60%,
        rgba(255, 255, 255, 0.6) 63%,
        rgba(255, 255, 255, 0.75) 66%,
        rgba(255, 255, 255, 0.6) 69%,
        rgba(255, 255, 255, 0.3) 72%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 78%, transparent 100%
      ),radial-gradient(ellipse 70px 40px at 33% -7.4%, rgb(255, 50, 100), transparent),
    radial-gradient(ellipse 60px 35px at 12% -5%, rgb(40, 140, 255), transparent),
    radial-gradient(ellipse 40px 70px at 2.1% 68.3%, rgb(50, 200, 80), transparent),
    radial-gradient(ellipse 20px 35px at 2.1% 68.3%, rgb(30, 185, 170), transparent),
    radial-gradient(ellipse 180px 32px at 74.4% 100%, rgb(100, 70, 255), transparent),
    radial-gradient(ellipse 85px 26px at 55% 100%, rgb(40, 140, 255), transparent),
    radial-gradient(ellipse 74px 32px at 93.9% 0%, rgb(255, 120, 40), transparent),
    radial-gradient(ellipse 26px 42px at 100% 27.1%, rgb(240, 50, 180), transparent),
    radial-gradient(ellipse 52px 48px at 100% 27.1%, rgb(180, 40, 240), transparent);
  -webkit-mask:
    conic-gradient(
      from var(--beam-angle-pearl),
      transparent 0%, transparent 30%,
      rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%,
      white 52%, white 80%,
      rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%,
      transparent 95%, transparent 100%
    ),
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: source-in, xor;
  mask:
    conic-gradient(
      from var(--beam-angle-pearl),
      transparent 0%, transparent 30%,
      rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%,
      white 52%, white 80%,
      rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%,
      transparent 95%, transparent 100%
    ),
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: intersect, exclude;
  pointer-events: none;
  z-index: 2;
  opacity: calc(var(--beam-opacity-pearl) * 0.26 * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1));
  animation: beam-hue-shift-pearl 12s ease-in-out infinite;
}

 .pearl-beam::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--pearl-corner,16px);
  background: radial-gradient(ellipse 63px 36px at 33% -7.4%, rgba(255, 50, 100, 0.45), transparent),
    radial-gradient(ellipse 54px 32px at 12% -5%, rgba(40, 140, 255, 0.45), transparent),
    radial-gradient(ellipse 36px 63px at 2.1% 68.3%, rgba(50, 200, 80, 0.45), transparent),
    radial-gradient(ellipse 18px 32px at 2.1% 68.3%, rgba(30, 185, 170, 0.45), transparent),
    radial-gradient(ellipse 162px 29px at 74.4% 100%, rgba(100, 70, 255, 0.45), transparent),
    radial-gradient(ellipse 77px 23px at 55% 100%, rgba(40, 140, 255, 0.45), transparent),
    radial-gradient(ellipse 67px 29px at 93.9% 0%, rgba(255, 120, 40, 0.45), transparent),
    radial-gradient(ellipse 23px 38px at 100% 27.1%, rgba(240, 50, 180, 0.45), transparent),
    radial-gradient(ellipse 47px 43px at 100% 27.1%, rgba(180, 40, 240, 0.45), transparent);
  box-shadow: inset 0 0 9px 1px rgba(255, 255, 255, 0.27);
  -webkit-mask-image:
    conic-gradient(
      from var(--beam-angle-pearl),
      transparent 0%, transparent 30%,
      rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%,
      white 52%, white 80%,
      rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%,
      transparent 95%, transparent 100%
    ),
    linear-gradient(white, transparent 28px, transparent calc(100% - 28px), white),
    linear-gradient(to right, white, transparent 28px, transparent calc(100% - 28px), white);
  -webkit-mask-composite: source-in, source-over;
  mask-image:
    conic-gradient(
      from var(--beam-angle-pearl),
      transparent 0%, transparent 30%,
      rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0.35) 44%,
      white 52%, white 80%,
      rgba(255, 255, 255, 0.35) 86%, rgba(255, 255, 255, 0.1) 92%,
      transparent 95%, transparent 100%
    ),
    linear-gradient(white, transparent 28px, transparent calc(100% - 28px), white),
    linear-gradient(to right, white, transparent 28px, transparent calc(100% - 28px), white);
  mask-composite: intersect, add;
  pointer-events: none;
  z-index: 1;
  opacity: calc(var(--beam-opacity-pearl) * 0.42 * var(--beam-inner-opacity, 1) * var(--beam-strength, 1));
  clip-path: inset(0 round var(--pearl-corner,16px));
  animation: beam-hue-shift-pearl 12s ease-in-out infinite;
}

.pearl-beam .pearl-beam-bloom {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: max(0px,calc(var(--pearl-corner,16px) - 1px));
  clip-path: inset(0 round var(--pearl-corner,16px));
  background: conic-gradient(
        from var(--beam-angle-pearl),
        transparent 0%, transparent 58%,
        rgba(255, 255, 255, 0.03) 62%,
        rgba(255, 255, 255, 0.08) 65%,
        rgba(255, 255, 255, 0.2) 67%,
        rgba(255, 255, 255, 0.45) 69%,
        rgba(255, 255, 255, 0.85) 70%,
        rgba(255, 255, 255, 0.85) 70.5%,
        rgba(255, 255, 255, 0.45) 71.5%,
        rgba(255, 255, 255, 0.2) 73%,
        rgba(255, 255, 255, 0.08) 75%,
        rgba(255, 255, 255, 0.03) 78%,
        transparent 82%
      );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
  filter: blur(8px) brightness(1.30) saturate(1.20);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
}

 .pearl-beam .pearl-beam-bloom {
  display: block;
  opacity: calc(var(--beam-opacity-pearl) * 0.24 * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1));
}

@keyframes beam-spin-pearl {
  to { --beam-angle-pearl: 360deg; }
}

@keyframes beam-hue-shift-pearl {
  0% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - 30deg)) brightness(1.30) saturate(1.20); }
  50% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + 30deg)) brightness(1.30) saturate(1.20); }
  100% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - 30deg)) brightness(1.30) saturate(1.20); }
}

.pearl-beam[data-paused],
.pearl-beam[data-paused]::after,
.pearl-beam[data-paused]::before,
.pearl-beam[data-paused] .pearl-beam-bloom {
  animation-play-state: paused !important;
}

html:is([data-pearl-turning],[data-pearl-reflow]) .pearl-beam {opacity:0!important; transition:none!important;}
html:is([data-pearl-turning],[data-pearl-reflow]) .pearl-beam,
html:is([data-pearl-turning],[data-pearl-reflow]) .pearl-beam::before,
html:is([data-pearl-turning],[data-pearl-reflow]) .pearl-beam::after {animation-play-state:paused!important;}
@media(max-width:670px) {html[data-pearl] #landing .landing-actions .task-card {border-radius:24px;}}
html[data-pearl][data-paused="true"] *,html[data-pearl][data-paused="true"] *::after,html[data-pearl][data-paused="true"] *::before {animation-play-state:paused!important;}

@media(prefers-reduced-motion:reduce) {

  html[data-pearl] *,html[data-pearl] *::after,html[data-pearl] *::before {animation-play-state:paused!important;transition-duration:0s!important;scroll-behavior:auto!important;}
}
@media(forced-colors:active) {
  html[data-pearl] .pearl-beam {display:none!important;}
  html[data-pearl] body .pearl-field { border:1px solid ButtonText!important; }
  html[data-pearl] body :is(.pearl-action,.pearl-field):focus-visible {outline:2px solid Highlight!important;}
}

/* fan.css */
/* Original A used the photograph at 52% 45% / cover, overscanned by 7%.
   Keep this CSS image as the exact static and GPU-unavailable rendering. */
[data-pearl-fan-stage] {
  --pearl-original-book: url("/assets/thesis-glass-book.webp");
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
html body [data-pearl-fan-stage] {
  background-image: linear-gradient(110deg,#111518 9%,#191e23 52%,#0c1014 90%) !important;
}
html body [data-pearl-fan-stage] > .fx-bg { display: none; }
html body [data-pearl-fan-stage] > .pearl-photo-scene {
  position: absolute !important;
  inset: 0;
  z-index: -1 !important;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(110deg,#111518 9%,#191e23 52%,#0c1014 90%);
}
.pearl-photo-plate {
  position: absolute;
  inset: -7%;
  opacity: .85;
  background: linear-gradient(90deg,#101316e8,#10131655 43%,transparent 70%),
    var(--pearl-original-book) 52% 45% / cover no-repeat;
  /* A's comparison view shows the 4-second pose of its 17-second slow drift. */
  transform: translate3d(-1.30955%,-.3947%,0) scale(1.01956) rotate(-.50175deg);
  animation: pearl-original-framing 17s ease-in-out -4s infinite alternate paused;
}
@keyframes pearl-original-framing {
  from { transform: translate3d(-1.8%,-.6%,0) scale(1.015) rotate(-.65deg); }
  to { transform: translate3d(2.5%,1.2%,0) scale(1.055) rotate(.65deg); }
}
.pearl-photo-plate :is(video,img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 45%;
  pointer-events: none;
}
.pearl-photo-plate :is(video,img)[hidden] { display: none; }
.pearl-photo-plate::after,.pearl-photo-sheen,.pearl-photo-scene::after {
  content: "";
  position: absolute;
  inset: 0;
}
.pearl-photo-plate:has(:is(video,img):not([hidden]))::after {
  background: linear-gradient(90deg,#101316e8,#10131655 43%,transparent 70%);
}
.pearl-photo-sheen {
  inset: -17%;
  mix-blend-mode: screen;
  opacity: .48;
  transform: translateX(-10%);
  background: linear-gradient(111deg,transparent 31%,#a0dbe50b 40%,#bdd6f531 44%,
    #dad3fa24 46%,transparent 52%,#f4cebc16 58%,transparent 68%);
}
.pearl-photo-scene::after {
  background: radial-gradient(ellipse at 12% 70%,#7ba6c014,transparent 32%),
    linear-gradient(to top,#080d1280,transparent 50%);
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-home-motion="static"]) [data-pearl-in-view] .pearl-photo-sheen {
    animation: pearl-literature-light 12s ease-in-out infinite alternate;
  }
  @keyframes pearl-literature-light {
    from { transform: translateX(-10%); opacity: .48; }
    to   { transform: translateX(14%); opacity: .9; }
  }
}
html[data-paused="true"] [data-pearl-fan-stage] .pearl-photo-sheen { animation-play-state: paused; }
html[data-pearl-turning] .pearl-photo-sheen,
html[data-pearl-turning] .pearl-ambient::before,
html[data-pearl-turning] .pearl-ambient::after { animation-play-state: paused !important; }
@media (forced-colors: active) {
  html body [data-pearl-fan-stage] { background-image:none!important; }
  html body [data-pearl-fan-stage] > .pearl-photo-scene { display:none; }
}

/* liquid.css */
/* Use the existing labels and buttons for hit testing, focus and activation. */
html body :is(#practiceBundle, #accountDialog) .liquid-segments {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 2px;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #b9c7ce45;
  border-radius: 999px;
  padding: 3px;
  background:
    radial-gradient(ellipse 64% 110% at 12% 150%, #7f9fac18, transparent),
    linear-gradient(112deg, #181a1c 9%, #24292c 42%, #191c20 76%);
  box-shadow: inset 0 2px 5px #080a0b77, 0 1px #ffffff0d;
  touch-action: pan-y pinch-zoom;
}
html body #accountDialog #accountTabs.liquid-segments { display:flex; width:100%; }
html body #accountDialog #accountTabs[hidden] { display:none; }
html body :is(#practiceBundle, #accountDialog) .liquid-segments > :is(label,button),
html body #practiceBundle .liquid-segments label:has(:checked),
html body #accountDialog #accountTabs.liquid-segments button[aria-pressed] {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 40px;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 7px clamp(8px, 1.5vw, 18px);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #bec6ca;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
  text-align: center;
  text-shadow: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .14s ease;
}
html body #practiceBundle .liquid-segments label:has(:checked),
html body #accountDialog #accountTabs.liquid-segments button[aria-pressed=true] { color: #f8fbfc; }
html body :is(#practiceBundle,#accountDialog) .liquid-segments > button:focus-visible,
html body #practiceBundle .liquid-segments > label:has(input:focus-visible) {
  outline: 2px solid #c8e7f0; outline-offset: 2px;
}
html body #practiceBundle .liquid-segments input[type=radio] {
  position: absolute; width: 1px; height: 1px; min-height: 0;
  overflow: hidden; clip-path: inset(50%); padding: 0; margin: 0;
  border: 0; white-space: nowrap;
}
html body .liquid-segments > .liquid-indicator {
  position: absolute; top:3px; bottom:3px; left:0; z-index:0;
  box-sizing:border-box;
  border:1px solid #c7e1e578;
  border-radius:999px;
  background:
    radial-gradient(ellipse 57% 95% at 21% 0%, #e5ffff22, transparent 90%),
    linear-gradient(174deg, #d2f0ff26, #afcbdb12 39%, #8aa0ac12 60%, #d0ecff28);
  box-shadow: inset 0 1px #edffff5c, inset 1px 0 3px #c9fcff26,
    inset -1px -2px 3px #d4efff25, 0 2px 5px #0006;
  transform-origin:center;
  pointer-events:none;
  /* The rail is the only backdrop below this layer. Native controls paint above it. */
  -webkit-backdrop-filter: contrast(1.13) saturate(1.16);
  backdrop-filter: contrast(1.13) saturate(1.16);
}
html body .liquid-segments > .liquid-indicator::before {
  content:""; position:absolute; left:12%; right:17%; top:0; height:1px;
  background:linear-gradient(90deg,transparent,#f1ffffaf,transparent);
}
html body .liquid-segments > .liquid-indicator::after {
  content:""; position:absolute; inset:1px; border-radius:inherit;
  box-shadow:inset 3px 0 4px -3px #e3ffff88, inset -3px -1px 4px -3px #e8dbff88;
}
@media (max-width: 600px) {
  html body #practiceBundle .liquid-segments { display:flex; width:100%; }
  html body :is(#practiceBundle, #accountDialog) .liquid-segments > :is(label,button) { min-height:44px; }
}
@media (prefers-reduced-motion: reduce) {
  html body .liquid-segments * { transition:none; }
}
@media (forced-colors: active) {
  html body :is(#practiceBundle, #accountDialog) .liquid-segments { background:Canvas; border-color:ButtonText; }
  html body .liquid-segments > .liquid-indicator {
    forced-color-adjust:none; background:Canvas; border:2px solid Highlight; box-shadow:none;
    -webkit-backdrop-filter:none; backdrop-filter:none;
  }
  html body .liquid-segments > .liquid-indicator::before,
  html body .liquid-segments > .liquid-indicator::after { display:none; }
}

/* fold.css */
/* A fold occupies exactly its content's natural height when settled. */
.pearl-fold { min-width:0; }
.pearl-fold[hidden] { display:none!important; }
.pearl-fold-clip { display:flow-root; min-width:0; }
.pearl-fold[data-folding] { overflow:hidden; overflow:clip; }
html[data-pearl] :is(#practiceBundle,#workflowShell,#accountDialog,#delivery,.admin-workspace) .pearl-fold[data-folding="close"] > .pearl-fold-clip > :is([hidden],.hidden) {
  display:block!important;
}
html[data-pearl] #practiceBundle #practiceCollection { animation:none; }
.pearl-source-note { position:relative; display:flow-root; min-width:0; }
.pearl-source-note > [aria-hidden=true] { position:absolute; inset:0 0 auto; pointer-events:none; }
@supports selector(::details-content) and (interpolate-size:allow-keywords) {
  @media(prefers-reduced-motion:no-preference) {
    html[data-pearl]:not([data-paused=true]) details::details-content {
      interpolate-size:allow-keywords;
      block-size:0; overflow:clip; opacity:0;
      transition:block-size .29s cubic-bezier(.2,.76,.25,1),opacity .18s ease,content-visibility .29s allow-discrete;
    }
    html[data-pearl]:not([data-paused=true]) details[open]::details-content {block-size:auto;opacity:1;}
  }
}

/* turn.css */
/* Paint these native character and control textures during homepage idle.
   Their original DOM hidden state and application mode stay intact. */
html body :is(#practiceBundle,#workflowShell)[data-turn-warm] {
  display:block !important; position:fixed !important; left:0 !important; right:0 !important;
  top:0 !important; margin-inline:auto !important;
  pointer-events:none !important; opacity:.006 !important; z-index:12 !important;
}
html body #landing:not(.hidden) {will-change:opacity;}
/* Keep the real homepage and its source button at the pre-click coordinates.
   The form keeps its native layout, interactive DOM and original focus target. */
html body #landing.hidden[data-turn-home] {
  position:fixed !important; display:block !important; z-index:3;
  left:var(--turn-left) !important; top:var(--turn-top) !important;
  width:var(--turn-width) !important; margin:0 !important; max-width:none !important;
  pointer-events:none !important; will-change:opacity;
}
html body [data-turn-surface] {
  position:relative; z-index:4; isolation:isolate;
  backface-visibility:hidden;
  transform-origin:center !important; will-change:transform;
}
html body #landing [data-turn-origin] {
  transform-origin:center !important; transition:none !important;
  backface-visibility:hidden; will-change:transform;
}
html body [data-turn-surface] :is(.is-entering,.step-panel) { animation:none !important; }
html[data-pearl-turning] :is(.pearl-ambient,.pearl-action)::before,
html[data-pearl-turning] :is(.pearl-ambient,.pearl-action)::after,
html[data-pearl-turning] .pearl-field {animation-play-state:paused !important;}


/* Preserve the same photograph, overscan and frame while avoiding a WebGL
   canvas being sampled inside another animated opacity/compositing layer. */
html[data-pearl-turning] .pearl-photo-scene:has(canvas) > *,
html[data-pearl-turning] .pearl-photo-scene:has(canvas)::after { display:none !important; }
html[data-pearl-turning] .pearl-photo-scene:has(canvas)::before {
  content:""; position:absolute; inset:-7%; opacity:.85;
  transform:translate(-1.30955%,-.3947%) scale(1.01956) rotate(-.50175deg);
  background:linear-gradient(90deg,#101316e8,#10131655 43%,transparent 70%),
    var(--pearl-original-book) 52% 45% / cover no-repeat;
}
html[data-pearl-turning] :is(body > header,#landing .task-card,#workflowShell .stepper),
html[data-pearl-turning] :is(#landing,#workflowShell,#practiceBundle) [class*="glass"] {
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
}

/* workflow-motion.css */
/* The rail keeps its native labels above one moving glass surface. */
html body #workflowShell[data-wf-steps] .stepper {
  position: relative; isolation: isolate;
}
html body #workflowShell[data-wf-steps] .step-item {
  position: relative; z-index: 1; cursor: pointer; touch-action: manipulation;
}
html body #workflowShell[data-wf-steps] .step-item,
html body #workflowShell[data-wf-steps] .step-item:is(.active,.done,:hover,:focus-visible) {
  background: transparent !important; box-shadow: none !important;
  border-color: transparent !important;
}
html body #workflowShell[data-wf-steps] .step-item::before { content: none; }
html body #workflowShell[data-wf-steps] .step-item[aria-disabled="true"] { cursor: default; }
html body #workflowShell[data-wf-steps] .step-item .step-index {
  background: transparent !important; box-shadow: none !important;
}
html body #workflowShell[data-wf-steps] .step-item.active { color: #f3fbfb; }
html body #workflowShell[data-wf-steps] .step-item:focus-visible {
  outline: 2px solid #c0e3e5; outline-offset: -2px;
}
.wf-step-pill {
  display: block; position: absolute; z-index: 0; top: 0; left: 0; pointer-events: none;
  box-sizing: border-box; border-radius: 999px;
  background:
    radial-gradient(85% 90% at 7% -25%, #f3ffff49, transparent 80%),
    linear-gradient(163deg,#d9f0f02a 0%,#9bb4b818 48%,#6a8b9017 67%,#bdd6db23 100%);
  border: 1px solid #d8eff245;
  box-shadow: inset 0 1px 0 #f3ffff70, inset 0 -1px 1px #d3eced21,
              inset 1px 0 2px #dbf1f02e, 0 2px 4px #07090945;
}
.wf-step-pill[hidden] { display: none; }
html body #workflowShell[data-wf-steps] .wf-step-stage {
  position: relative; grid-column: 1/-1; min-width: 0; width: 100%;
}
html body #workflowShell[data-wf-steps] .step-panel {
  animation: none !important; transition: none !important;
}
html body #workflowShell[data-wf-steps] .wf-step-stage[data-sliding] {
  overflow: clip; overflow-clip-margin: 12px;
}
html body #workflowShell[data-wf-steps] .wf-step-stage .step-panel[data-step-layer] {
  display: block !important; position: absolute; inset: 0 0 auto;
  margin-inline: auto; width: 100%; min-width: 0;
}
html body #workflowShell[data-wf-steps] .step-panel[data-step-layer="out"] {
  z-index: 0; pointer-events: none; user-select: none;
}
html body #workflowShell[data-wf-steps] .step-panel[data-step-layer="in"] { z-index: 1; }
/* Keep the whole navigation rail stationary when the narrower AI form is selected. */
html[data-home-motion="enhanced"] body main#workflowShell[data-wf-steps]:has(#stepAi:not(.hidden)) {
  max-width: 1380px;
}
html[data-home-motion="enhanced"] body #workflowShell[data-wf-steps] #stepAi {
  max-width: 1024px; margin-inline: auto;
}
@media (max-width: 360px) {
  html body #workflowShell[data-wf-steps] .stepper {
    display: flex; flex-direction: column; align-items: stretch;
  }
  html body #workflowShell[data-wf-steps] .stepper .step-item:not(.skipped) {
    flex: none; flex-direction: row; align-items: center; justify-content: flex-start;
    gap: 9px; min-height: 34px; padding: 5px 14px;
  }
}
@media (forced-colors: active) {
  html body #workflowShell[data-wf-steps] .wf-step-pill { display: none; }
  html body #workflowShell[data-wf-steps] .step-item[aria-current="step"] {
    outline: 2px solid Highlight; outline-offset: -2px;
  }
}
