@font-face{font-family:WebApp Kanit;src:url(media/kanit-400.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:WebApp Kanit;src:url(media/kanit-600.ttf) format("truetype");font-weight:600 900;font-display:swap}

.rg-webapp-preview{--navy:#0b233a;--ink:#102c43;--sky:#71c9ed;--cyan:#44b7e4;--paper:#f3f8fb;--rule:#d3e3ec;--copy:#425f75;color:var(--ink);background:var(--paper);font:400 16px/1.65 "WebApp Kanit",sans-serif}
.rg-webapp-preview *{box-sizing:border-box}
.rg-webapp-preview :is(h1,h2,h3,p,figure,ol,ul){margin:0}
.rg-webapp-preview :is(h1,h2,h3){font-family:inherit;font-weight:600;line-height:1.16;color:inherit}
.rg-webapp-preview a:focus-visible,.rg-webapp-preview summary:focus-visible{outline:3px solid #ec8d32;outline-offset:4px}
.rg-webapp-preview [id]{scroll-margin-top:24px}
.rg-webapp-preview .lab-nav{background:#fff;border-bottom:1px solid var(--rule)}
.rg-webapp-preview .lab-bar{max-width:1240px;margin:auto;min-height:65px;padding:9px 26px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.rg-webapp-preview .lab-brand img{display:block;width:142px;height:auto}
.rg-webapp-preview .lab-links{display:flex;align-items:center;gap:12px}
.rg-webapp-preview .lab-links a{color:var(--ink);font-weight:600;font-size:14px;padding:5px 8px}
.rg-webapp-preview .lab-links [aria-current]{background:#dbf4fc;border-radius:5px}
.rg-webapp-preview .rg-webapp-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:16px;padding:clamp(44px,6vw,90px) max(24px,calc((100% - 1188px)/2));min-height:590px;color:#f5fbff;background:radial-gradient(ellipse at 79% 52%,#1c5675,#0d2844 44%,#0a2035 78%)}
.rg-webapp-preview .lab-copy{min-width:0;z-index:2;display:grid;gap:17px}
.rg-webapp-preview .rg-webapp-kicker,.rg-webapp-preview .lab-label{font-size:12px;font-weight:600;letter-spacing:.14em;color:#02769e}
.rg-webapp-preview .rg-webapp-kicker{color:#9de3fc}
.rg-webapp-preview .lab-copy h1{font-size:clamp(44px,5.6vw,78px);line-height:1.02;letter-spacing:-.03em}
.rg-webapp-preview .lab-copy h1 em{display:block;color:#84d4f3;font-style:normal}
.rg-webapp-preview .lab-subtitle{font-size:clamp(18px,2.35vw,29px);line-height:1.22;color:#fff;font-weight:600}
.rg-webapp-preview .lab-copy h1::after{content:"";display:block;width:106px;height:4px;margin-top:18px;border-radius:4px;background:linear-gradient(105deg,#70b9e0 0 21%,#80c346 21% 40%,#f5de53 40% 60%,#ed5b53 60% 79%,#986cb1 79%)}
.rg-webapp-preview .lab-copy p:not(.lab-subtitle){color:#d4e9f6;max-width:47ch}
.rg-webapp-preview .lab-copy p:has(strong){font-size:14px;color:#a8d3e9}
.rg-webapp-preview .rg-webapp-actions{display:flex;align-items:center;gap:10px 15px;flex-wrap:wrap}
.rg-webapp-preview .rg-webapp-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border-radius:8px;font-weight:600;text-decoration:none;color:#f5fbff}
.rg-webapp-preview .rg-webapp-actions .primary{background:#82d7f3;color:#092c40}
.rg-webapp-preview .rg-webapp-actions .secondary{border:1px solid #9abed6}
.rg-webapp-preview .rg-webapp-actions .lab-case-link{color:#a7e7fb;text-decoration:underline;text-underline-offset:4px;padding-inline:0}
.rg-webapp-preview .lab-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.rg-webapp-preview .lab-plane {
  position: absolute;
  transform: translate3d(var(--depth-x, 0px), var(--depth-y, 0px), 0);
  will-change: transform;
}
.rg-webapp-preview .lab-room {
  z-index: 0;
  inset: -13% -7%;
}
.rg-webapp-preview .lab-room img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 66%;
}
.rg-webapp-preview .lab-scene::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  background:
    linear-gradient(90deg, #0b223be6 0%, #0b223bdc 33%, #0b223b8c 48%, #0b223b0d 69%),
    linear-gradient(0deg, #081c347a, transparent 27%);
}
.rg-webapp-preview .lab-desk {
  position: absolute;
  z-index: 3;
  right: max(4%, calc((100% - 1400px) / 2));
  bottom: 1%;
  width: clamp(320px, 48vw, 730px);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 11px 12px #12293b8c);
}
.rg-webapp-preview .lab-object {
  z-index: 2;
  display: block;
  height: auto;
  overflow: hidden;
  filter: drop-shadow(0 8px 13px #0c254b66);
}
.rg-webapp-preview .lab-cloud {
  top: 3%; left: 63%; width: min(28vw, 430px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 87%, transparent),
              linear-gradient(0deg, transparent, #000 13%, #000 79%, transparent);
  mask-composite: intersect;
}
.rg-webapp-preview .lab-globe {top: 10%; left: 51%; width: clamp(58px, 8vw, 125px); clip-path: ellipse(49% 49%)}
.rg-webapp-preview .lab-cube {top: 21%; left: 58%; width: clamp(50px, 7vw, 112px); clip-path: polygon(1% 27%, 49% 0, 99% 22%, 99% 76%, 53% 100%, 0 75%)}
.rg-webapp-preview .lab-wire {top: 49%; left: 50%; width: clamp(58px, 8vw, 112px); clip-path: polygon(0 17%, 34% 0, 100% 22%, 100% 81%, 66% 100%, 0 85%)}
.rg-webapp-preview .lab-ux {top: 38%; right: 4%; width: clamp(57px, 9vw, 143px); clip-path: polygon(0 0, 98% 20%, 100% 98%, 2% 80%)}
.rg-webapp-preview .lab-rose {top: 58%; right: 3%; width: clamp(38px, 5vw, 76px); clip-path: ellipse(48% 48%)}
.rg-webapp-preview .lab-at {top: 77%; left: 40%; width: clamp(39px, 5vw, 77px); clip-path: ellipse(43% 45%)}
.rg-webapp-preview .lab-screen {
  top: 2%; right: 2%; width: min(20vw, 300px);
  clip-path: polygon(0 0, 99% 62%, 98% 79%, 70% 96%, 1% 70%);
}
.rg-webapp-preview .rg-webapp-course>:not(.rg-webapp-hero){width:min(1188px,calc(100% - 52px));margin-inline:auto}
.rg-webapp-preview .wp-block-rank-math-toc-block{padding:20px 0;border-bottom:1px solid var(--rule);display:flex;flex-wrap:wrap;align-items:baseline;gap:9px 22px}
.rg-webapp-preview .wp-block-rank-math-toc-block h2{font-size:17px}
.rg-webapp-preview .wp-block-rank-math-toc-block ul{display:flex;flex-wrap:wrap;gap:7px 19px;padding:0;list-style:none}
.rg-webapp-preview .wp-block-rank-math-toc-block a{color:#185b77;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.rg-webapp-preview .rg-webapp-section{padding-block:40px;border-bottom:1px solid var(--rule)}
.rg-webapp-preview .rg-webapp-section h2{font-size:clamp(26px,3vw,40px);max-width:27ch;margin-bottom:12px}
.rg-webapp-preview .rg-webapp-section h3{font-size:20px;margin-bottom:7px}
.rg-webapp-preview .rg-webapp-section p,.rg-webapp-preview .rg-webapp-card li{color:var(--copy)}
.rg-webapp-preview .rg-webapp-section a{color:#006c93;text-decoration:underline;text-underline-offset:3px}
.rg-webapp-preview .rg-webapp-section .lab-label{color:#08789c;margin-bottom:11px}
.rg-webapp-preview .lab-project-intro p:last-child{max-width:65ch}
.rg-webapp-preview .lab-project{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 32px;align-items:center}
.rg-webapp-preview .lab-project :is(.lab-project-steps,.lab-evidence){grid-column:1 / -1;margin-top:0}
.rg-webapp-preview .lab-demo{padding:15px 18px;border:1px solid var(--rule);border-radius:12px;background:#fff}
.rg-webapp-preview .lab-demo-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.rg-webapp-preview .lab-demo-controls label{width:100%;font-weight:600}
.rg-webapp-preview .lab-demo-controls :is(select,button){width:auto;min-height:44px;padding:7px 12px;font:inherit;border:1px solid #9bbacb;border-radius:7px;color:var(--ink);background:#fff}
.rg-webapp-preview .lab-demo-controls select{min-inline-size:156px;padding-inline-end:42px}
.rg-webapp-preview .lab-demo-controls button{background:#bdeafe;border-color:#abd6e9;font-weight:600}
.rg-webapp-preview .lab-demo-result{min-height:1.65em;margin-top:5px}
.rg-webapp-preview .lab-demo-result[data-state="busy"]{color:#933417}
.rg-webapp-preview .lab-demo-result[data-state="free"]{color:#11623d}
.rg-webapp-preview .lab-project-steps{list-style:none;counter-reset:project;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.rg-webapp-preview .lab-project-steps li{counter-increment:project;padding:18px 20px;border-radius:12px;background:#fff;border:1px solid var(--rule);border-top:3px solid #47a9d3}
.rg-webapp-preview .lab-project-steps li::before{content:"0" counter(project);display:block;color:#02769e;font:600 15px/1.3 ui-monospace,monospace;margin-bottom:12px}
.rg-webapp-preview .lab-evidence{margin-top:14px;padding:16px 20px;background:#deeff7;border-radius:10px;display:flex;align-items:baseline;gap:8px 18px;flex-wrap:wrap}
.rg-webapp-preview .rg-webapp-grid,.rg-webapp-preview .rg-webapp-journey,.rg-webapp-preview .rg-webapp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:18px}
.rg-webapp-preview .rg-webapp-card,.rg-webapp-preview .rg-webapp-step{border-top:2px solid #bad5e4;padding:15px 0 0}
.rg-webapp-preview .rg-webapp-journey{grid-template-columns:repeat(4,minmax(0,1fr));counter-reset:journey}
.rg-webapp-preview .rg-webapp-step::before{counter-increment:journey;content:"0" counter(journey);display:block;margin-bottom:10px;color:#08789c;font:600 15px/1.4 ui-monospace,monospace}
.rg-webapp-preview .rg-webapp-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;background:#e3f2f8;border-radius:12px}
.rg-webapp-preview .rg-webapp-faq details,.rg-webapp-preview .lab-poster{margin-top:10px;background:#fff;border:1px solid var(--rule);border-radius:10px}
.rg-webapp-preview summary{padding:13px 18px;cursor:pointer;font-weight:600}
.rg-webapp-preview .rg-webapp-answer{padding:0 18px 15px;color:var(--copy)}
.rg-webapp-preview .lab-poster img{display:block;width:min(100%,450px);height:auto;margin:0 auto 18px}
.rg-webapp-preview .rg-webapp-course .lab-poster{margin-top:24px}
.rg-webapp-preview .rg-webapp-course .rg-webapp-final{margin-block:28px;padding:24px;border-radius:14px;color:#fff;background:var(--navy)}
.rg-webapp-preview .rg-webapp-final p{margin-block:10px}
@media(max-width:680px){
  .rg-webapp-preview .lab-bar{min-height:56px;padding-inline:16px}
  .rg-webapp-preview .lab-brand img{width:108px}
  .rg-webapp-preview .lab-links{gap:3px}
  .rg-webapp-preview .lab-links a{font-size:12px}
  .rg-webapp-preview .lab-links .lab-bar-cta{display:none}
  .rg-webapp-preview .rg-webapp-hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;column-gap:8px;padding:22px 16px 27px;min-height:0}
  .rg-webapp-preview .lab-copy{display:contents}
  .rg-webapp-preview .rg-webapp-kicker{grid-column:1 / -1;grid-row:1;margin-bottom:8px}
  .rg-webapp-preview .lab-copy h1{grid-column:1;grid-row:2;font-size:clamp(24px,7vw,44px);align-self:center}
  .rg-webapp-preview .lab-copy h1::after{width:58px;margin-top:9px;height:3px}
  .rg-webapp-preview .lab-copy h1 {min-height: 140px; align-content: center}
  .rg-webapp-preview .lab-room img {object-position: 49% 58%}
  .rg-webapp-preview .lab-scene::after {
    background: linear-gradient(90deg,#0b223bf2 0%,#0b223bd6 35%,#0b223b45 68%),
                linear-gradient(0deg,#0b223b 27%,#0b223be8 45%,transparent 68%);
  }
  .rg-webapp-preview .lab-desk {top: 84px; right: -5%; bottom: auto; width: 58%}
  .rg-webapp-preview .lab-cloud {top: 0; left: 60%; width: 43%}
  .rg-webapp-preview .lab-globe {top: 5%; left: 47%; width: 13%}
  .rg-webapp-preview .lab-cube {top: 13%; left: 57%; width: 14%}
  .rg-webapp-preview .lab-wire {top: 38%; left: 64%; width: 15%}
  .rg-webapp-preview .lab-ux {top: 21%; right: 1%; width: 13%}
  .rg-webapp-preview .lab-rose {top: 34%; right: 4%; width: 11%}
  .rg-webapp-preview .lab-at {top: 56%; left: 80%; width: 12%}
  .rg-webapp-preview .lab-screen {top: -2%; right: -1%; width: 26%}
  .rg-webapp-preview .lab-copy p,.rg-webapp-preview .rg-webapp-actions{grid-column:1 / -1;margin-top:11px}
  .rg-webapp-preview .lab-copy p:not(.lab-subtitle){max-width:none;font-size:14px}
  .rg-webapp-preview .lab-subtitle{font-size:19px}
  .rg-webapp-preview .rg-webapp-course>:not(.rg-webapp-hero){width:calc(100% - 32px)}
  .rg-webapp-preview .rg-webapp-section{padding-block:29px}
  .rg-webapp-preview .lab-project{grid-template-columns:1fr}
  .rg-webapp-preview :is(.lab-project-steps,.rg-webapp-grid,.rg-webapp-facts){grid-template-columns:1fr;gap:12px}
  .rg-webapp-preview .rg-webapp-journey{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.rg-webapp-preview .lab-plane{transform:none;will-change:auto}}
