.lab { position: absolute; inset: 0; background: #0A2A9A; color: #EAF3FF; --ac: #79BFFF; font-family: var(--lab-sans);
  --lab-serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif; --lab-sans: var(--font-sans, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif); }
.lab.is-leave { opacity: 0; transition: opacity .32s ease; }
.lab-ws { scroll-snap-type: y mandatory; }
.lab-ws .u-wsec { scroll-snap-stop: always; }
.lab-stage { position: sticky; top: 0; width: 100%; overflow: hidden; pointer-events: none; }
.lab-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lab-kk { font: 650 .7rem var(--lab-sans); letter-spacing: .17em; text-transform: uppercase; color: var(--ac); }
.lab-top, .lab-rail, .lab-g { z-index: 40; }
.lab-top { position: absolute; left: var(--gutter, 1rem); right: var(--gutter, 1rem); top: calc(var(--header-h, 4.5rem) + 14px); display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.lab-top .lab-kk { color: var(--b5, #79BFFF); text-align: right; }
.lab .u-back, html.u-light .lab .u-back { background: rgba(8, 18, 48, .74); color: #EAF3FF; border: 1px solid rgba(121, 191, 255, .50); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lab-ag { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; max-width: 100%; padding: .26rem .85rem .26rem .3rem; border-radius: 999px; font: 500 .8rem/1.2 var(--lab-sans); color: #EAF3FF;
  background: color-mix(in srgb, var(--ac) 12%, rgba(4, 10, 28, .66)); border: 1px solid color-mix(in srgb, var(--ac) 48%, transparent); box-shadow: 0 0 16px color-mix(in srgb, var(--ac) 22%, transparent); }
.lab-ag svg { width: 1.7rem; height: 1.7rem; flex: none; color: var(--ac); filter: drop-shadow(0 0 5px var(--ac)); }
.lab-ag-l { display: none; }
@media (min-width: 800px) { .lab-ag-l { display: inline; } }
.lab-ag b { font-family: var(--lab-serif); font-style: italic; font-weight: 600; font-size: .92rem; }
.lab-rail { position: absolute; left: var(--gutter, 1rem); right: var(--gutter, 1rem); top: calc(var(--header-h, 4.5rem) + 66px); display: flex; gap: 5px; }
.lab-seg { flex: 1; position: relative; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.lab-seg::before, .lab-seg::after { content: ""; position: absolute; left: 0; top: 9px; height: 3px; border-radius: 2px; }
.lab-seg::before { right: 0; background: rgba(190, 220, 255, .20); }
.lab-seg::after { width: calc(var(--f, 0) * 100%); background: var(--b5, #79BFFF); box-shadow: 0 0 10px var(--b5, #79BFFF); }
.lab-seg:focus-visible, .lab-chip:focus-visible, .lab-tab:focus-visible, .lab-sec:focus-visible, .lab-cta:focus-visible { outline: 2px solid var(--focus, #fff); outline-offset: 3px; }
.lab-g { position: absolute; inset: 0; pointer-events: none; will-change: transform, opacity; }
.lab-h { margin: 0; font-family: var(--lab-serif); font-style: italic; font-size: clamp(2rem, 1.35rem + 2.3vw, 3.6rem); line-height: 1.04; letter-spacing: -.012em; font-weight: 500; color: #fff; text-shadow: 0 0 28px color-mix(in srgb, var(--ac) 55%, transparent); }
.lab-p { margin: 0; color: #DCE9FB; font-family: var(--lab-serif); font-weight: 400; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.42; letter-spacing: -.004em; max-width: 36rem; text-wrap: pretty; }
.lab-card, .lab-np { pointer-events: auto; }
.is-intro .lab-card, .is-end .lab-card { position: absolute; left: var(--gutter, 1rem); bottom: 7.2rem; display: grid; gap: .8rem; max-width: min(36rem, calc(100% - 2 * var(--gutter, 1rem))); padding: 1.2rem 1.3rem; border-radius: 16px; background: linear-gradient(160deg, rgba(10, 22, 58, .74), rgba(4, 10, 28, .84)); border: 1px solid rgba(121, 191, 255, .42); box-shadow: 0 0 40px rgba(60, 120, 255, .22), inset 0 0 30px rgba(80, 140, 255, .07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.is-end .lab-card { left: 50%; transform: translateX(-50%); text-align: center; justify-items: center; }
.lab-chips, .lab-acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.is-end .lab-acts { justify-content: center; }
.lab-chip { pointer-events: auto; font: 600 .8rem var(--lab-sans); color: var(--ac); background: color-mix(in srgb, var(--ac) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 60%, transparent); padding: .5rem .85rem; min-height: 2.4rem; border-radius: 999px; cursor: pointer; box-shadow: 0 0 14px color-mix(in srgb, var(--ac) 25%, transparent); }
.lab-chip:hover { background: color-mix(in srgb, var(--ac) 28%, transparent); color: #fff; }
.lab-hint { font: 650 .68rem var(--lab-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--b6, #98CEFF); opacity: .85; }
.lab-sec { pointer-events: auto; font: 600 .85rem var(--lab-sans); color: #EAF3FF; background: rgba(121, 191, 255, .10); border: 1px solid rgba(121, 191, 255, .42); padding: .75rem 1.1rem; border-radius: 999px; cursor: pointer; }
.lab-sec:hover { background: rgba(121, 191, 255, .22); }
.lab-np { position: absolute; top: calc(var(--header-h, 4.5rem) + 104px); display: grid; gap: .55rem; width: min(34%, 26rem); }
.is-l .lab-np { left: var(--gutter, 1rem); } .is-r .lab-np { right: var(--gutter, 1rem); }
.lab-np .lab-p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.lab-cta { justify-self: start; pointer-events: auto; }
.lab-bs { position: absolute; top: calc(var(--header-h, 4.5rem) + 100px); bottom: 7rem; width: min(52%, 46rem); display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; grid-auto-rows: minmax(0, 1fr); align-content: stretch; }
.is-l .lab-bs { right: var(--gutter, 1rem); } .is-r .lab-bs { left: var(--gutter, 1rem); }
.lab-tabs { display: none; }
.lab-b { position: relative; min-width: 0; min-height: 0; padding: 1rem 1.1rem 1.2rem; border-radius: 14px; overflow: hidden; pointer-events: auto; max-height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--ac) transparent; overscroll-behavior: contain;
  background: linear-gradient(160deg, rgba(10, 22, 58, .91), rgba(4, 10, 28, .96)); border: 1px solid color-mix(in srgb, var(--ac) 55%, transparent);
  box-shadow: 0 0 34px color-mix(in srgb, var(--ac) 22%, transparent), inset 0 0 28px rgba(80, 140, 255, .07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lab-b::-webkit-scrollbar { width: 5px; }
.lab-b::-webkit-scrollbar-thumb { background: var(--ac); border-radius: 5px; }
.lab-b::before { content: ""; position: absolute; left: -1px; top: -1px; width: 16px; height: 16px; border-left: 2px solid var(--ac); border-top: 2px solid var(--ac); border-top-left-radius: 14px; filter: drop-shadow(0 0 5px var(--ac)); pointer-events: none; }
.lab-b::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ac) 16%, transparent), transparent); animation: lab-scan 5.5s linear infinite; }
@keyframes lab-scan { from { transform: translateY(0); } to { transform: translateY(380%); } }
.lab-bh { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font: 650 .75rem var(--lab-sans); letter-spacing: .17em; text-transform: uppercase; color: var(--ac); }
.lab-bh i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ac); box-shadow: 0 0 10px var(--ac); flex: none; }
.lab-l { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; font-size: 1rem; line-height: 1.5; }
.lab-l li b { display: block; color: #fff; font-family: var(--lab-serif); font-weight: 600; font-size: 1.04rem; letter-spacing: -.004em; line-height: 1.25; }
.lab-l li span, .lab-faq span { color: #CBDDF3; }
ul.lab-l li:not(:has(b)) { position: relative; padding-left: 1.1rem; }
ul.lab-l li:not(:has(b))::before { content: ""; position: absolute; left: .15rem; top: .5rem; width: .4rem; height: .4rem; border-radius: 1px; background: var(--ac); box-shadow: 0 0 8px var(--ac); transform: rotate(45deg); }
ol.lab-l { counter-reset: s; }
ol.lab-l li { counter-increment: s; position: relative; padding-left: 1.8rem; }
ol.lab-l li::before { content: counter(s); position: absolute; left: 0; top: .05rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 1px solid var(--ac); color: var(--ac); font: 650 .66rem var(--lab-sans); display: grid; place-items: center; box-shadow: 0 0 10px color-mix(in srgb, var(--ac) 40%, transparent); }
.lab-faq { display: grid; gap: .35rem; font-size: 1rem; line-height: 1.5; }
.lab-faq b { color: #fff; font-family: var(--lab-serif); font-weight: 600; font-size: 1.04rem; line-height: 1.25; margin-top: .35rem; } .lab-faq b:first-child { margin-top: 0; }
.lab-g.is-on .lab-b { animation: lab-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.lab-g.is-on .lab-b:nth-child(2) { animation-delay: .12s; } .lab-g.is-on .lab-b:nth-child(3) { animation-delay: .24s; } .lab-g.is-on .lab-b:nth-child(4) { animation-delay: .36s; }
@keyframes lab-in { 0% { clip-path: inset(0 100% 0 0); filter: brightness(2.2) saturate(1.4); transform: translateX(-10px); } 60% { filter: brightness(1.35); } 100% { clip-path: inset(0 0 0 0); filter: none; transform: none; } }
.lab-g.is-on .lab-np .lab-h { animation: lab-glitch .8s steps(2, end) both; }
@keyframes lab-glitch { 0% { text-shadow: -6px 0 #ff3d9a, 6px 0 #29d8ff; opacity: .2; } 30% { text-shadow: 4px 0 #ff3d9a, -4px 0 #29d8ff; opacity: .9; } 100% { text-shadow: 0 0 28px color-mix(in srgb, var(--ac) 55%, transparent); opacity: 1; } }
@media (max-width: 799px) {
  .lab-np { left: var(--gutter, 1rem) !important; right: var(--gutter, 1rem) !important; width: auto; top: calc(var(--header-h, 4.5rem) + 92px); }
  .lab-np { gap: .35rem; } .lab-np .lab-h { font-size: 1.85rem; } .lab-np .lab-p { -webkit-line-clamp: 2; font-size: .88rem; } .lab-cta { transform: scale(.8); transform-origin: left top; margin-bottom: -.7rem; }
  .lab-tabs { display: flex; position: absolute; left: var(--gutter, 1rem); right: var(--gutter, 1rem); bottom: calc(6.2rem + min(30vh, 16rem)); gap: .4rem; overflow-x: auto; scrollbar-width: none; pointer-events: auto; }
  .lab-tab { flex: none; font: 650 .7rem var(--lab-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--b8, #DCE6F5); background: rgba(10, 22, 58, .7); border: 1px solid color-mix(in srgb, var(--ac) 45%, transparent); padding: .5rem .8rem; min-height: 2.3rem; border-radius: 999px; cursor: pointer; }
  .lab-tab.on { color: #02050f; background: var(--ac); border-color: var(--ac); box-shadow: 0 0 16px color-mix(in srgb, var(--ac) 55%, transparent); }
  .lab-bs { left: var(--gutter, 1rem) !important; right: var(--gutter, 1rem) !important; top: auto; bottom: 6.2rem; width: auto; display: block; height: min(30vh, 16rem); }
  .lab-bs .lab-b { display: none; height: 100%; } .lab-bs .lab-b.on { display: block; }
  .is-intro .lab-card, .is-end .lab-card { bottom: 6.4rem; padding: .85rem 1rem; gap: .5rem; }
  .is-intro .lab-h, .is-end .lab-h { font-size: 2.1rem; }
  .is-intro .lab-p, .is-end .lab-p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; }
  .lab-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .lab-chip { flex: none; }
}
.lab.is-flat { background: var(--deep, #050B1F); }
.lab.is-flat .lab-stage { position: static; height: auto !important; margin: 0 !important; overflow: visible; padding: calc(var(--header-h, 4.5rem) + 4.5rem) var(--gutter, 1rem) 7rem; display: grid; gap: 2.2rem; pointer-events: auto; }
.lab.is-flat .u-wsec, .lab.is-flat .u-wtail, .lab.is-flat .lab-rail, .lab.is-flat .lab-tabs, .lab.is-flat .lab-hint { display: none; }
.lab.is-flat .lab-top { position: static; margin-bottom: -1rem; }
.lab.is-flat .lab-g { position: relative; inset: auto; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto !important; display: grid; gap: 1rem; }
.lab.is-flat .lab-np, .lab.is-flat .lab-bs, .lab.is-flat .is-intro .lab-card, .lab.is-flat .is-end .lab-card { position: static; width: auto; left: auto; right: auto; top: auto; bottom: auto; transform: none; max-width: none; }
.lab.is-flat .lab-bs { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); height: auto; }
.lab.is-flat .lab-bs .lab-b { display: block !important; max-height: none; }
@media (prefers-reduced-motion: reduce) { .lab-b::after, .lab-g.is-on .lab-b, .lab-g.is-on .lab-np .lab-h { animation: none; } }
html.u-light .lab { background: #e9eff9; color: #0A1638; }
html.u-light .lab .lab-g { --ac: var(--aci, #2F54C8) !important; }
html.u-light .lab .lab-g.is-intro, html.u-light .lab .lab-g.is-end { --ac: #2F54C8 !important; }
html.u-light .lab-h { color: #0A1638; text-shadow: none; }
html.u-light .lab-g.is-on .lab-np .lab-h { animation: none; }
html.u-light .lab-p { color: #2F3E6A; }
html.u-light .lab-top .lab-kk, html.u-light .lab-hint { color: #2F54C8; opacity: 1; }
html.u-light .lab-seg::before { background: rgba(10, 22, 56, .16); }
html.u-light .lab-seg::after { background: #3F6BFF; box-shadow: 0 0 8px rgba(63, 107, 255, .45); }
html.u-light .is-intro .lab-card, html.u-light .is-end .lab-card, html.u-light .lab-b { background: linear-gradient(160deg, rgba(255, 255, 255, .90), rgba(236, 243, 253, .92)); border-color: color-mix(in srgb, var(--ac) 50%, transparent);
  box-shadow: 0 10px 34px rgba(20, 44, 110, .16), inset 0 0 22px rgba(63, 107, 255, .05); }
html.u-light .lab-b::after { background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ac) 9%, transparent), transparent); }
html.u-light .lab-l li b, html.u-light .lab-faq b { color: #0A1638; }
html.u-light .lab-l li span, html.u-light .lab-faq span { color: #2F3E6A; }
html.u-light .lab-chip { background: color-mix(in srgb, var(--ac) 9%, #fff); box-shadow: none; }
html.u-light .lab-chip:hover { background: color-mix(in srgb, var(--ac) 20%, #fff); color: #0A1638; }
html.u-light .lab-sec { color: #0A1638; background: rgba(63, 107, 255, .08); border-color: rgba(63, 107, 255, .38); }
html.u-light .lab-sec:hover { background: rgba(63, 107, 255, .16); }
html.u-light .lab-ag { color: #0A1638; background: color-mix(in srgb, var(--ac) 9%, #fff); box-shadow: none; }
html.u-light .lab-ag svg { filter: none; }
html.u-light .lab .u-back { background: rgba(255, 255, 255, .88); color: #0A1638; border-color: rgba(63, 107, 255, .42); }
html.u-light .lab-tab { color: #0A1638; background: rgba(255, 255, 255, .86); }
html.u-light .lab-tab.on { color: #fff; background: var(--ac); box-shadow: 0 0 12px color-mix(in srgb, var(--ac) 40%, transparent); }
html.u-light .lab.is-flat { background: #e9eff9; }
html.u-light .lab .lab-chip { --ac: var(--aci, #2F54C8) !important; }
@media (max-width: 799px) {
  .is-end .lab-card { padding: .8rem .9rem; gap: .55rem; }
  .is-end .lab-h { font-size: 1.7rem; } .is-end .lab-p { display: none; }
  .is-end .lab-acts { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; width: 100%; }
  .is-end .lab-acts > :first-child { grid-column: 1 / -1; justify-self: center; }
  .is-end .lab-sec { font-size: .78rem; padding: .55rem .6rem; line-height: 1.15; }
}
.lab-chip { display: inline-flex; align-items: center; gap: .42rem; }
.lab-chip .rp-ico { margin: 0; }
