/* DOM adapters to the unchanged mock tokens. No styling leaks to non-opt-in pages. */
body.studio-shell{--font-brand:var(--sans);--font-cn:var(--sans);--font-sans:var(--sans);overflow-x:clip}
.studio-shell .read .body,.studio-shell .read li{color:#DCD8E8;font-size:18px;line-height:1.85}
.studio-shell .read .sub{color:#DCD8E8}
.studio-shell .read h2{font-size:20px;margin-top:56px;font-weight:600;color:var(--star)}
.studio-shell .read .two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.studio-shell .read ul{padding-left:24px}.studio-shell .read li{margin-top:10px}
.studio-shell .read .lesson-tags{font-size:15px;color:var(--soft)}
.studio-shell .read .lesson-tags span+span::before{content:' · '}
.studio-shell .read .link{display:inline-block}
.studio-shell .read .rules .rules{margin-top:0}
.studio-shell .read form.contact-form{display:grid;max-width:none}
.studio-shell .read input.in,.studio-shell .read select.in,.studio-shell .read textarea.in{width:100%;font:400 16px var(--sans);color:var(--text);outline-offset:3px}
.studio-shell .read textarea.in{resize:vertical}.studio-shell .read select.in option{background:var(--night-2)}
.studio-shell .read .radio-row{display:flex;flex-wrap:wrap;gap:10px}
.studio-shell .read .chip{gap:8px;margin:0}.studio-shell .read .chip:has(input:checked){background:var(--gold);color:var(--night)}
.studio-shell .read .chip input{accent-color:var(--night)}
.studio-shell .read .field-hint,.studio-shell .read .optional{font-size:14px;color:var(--soft)}
.studio-shell .read .form-note{color:var(--bad)}
.studio-shell .read .btn-send{border:0;justify-self:start;cursor:pointer}
.studio-shell dialog.drawer{inset:0 0 0 auto;margin:0;max-width:100%;max-height:100%;height:100dvh;border-top:0;border-right:0;border-bottom:0;border-radius:0;color:var(--text)}
.studio-shell dialog.drawer::backdrop{background:rgba(6,8,25,.6);backdrop-filter:blur(3px)}
.studio-shell .drawer .x{background:transparent;cursor:pointer;flex-shrink:0;font-family:var(--sans)}
.studio-shell .drawer .settings{flex-shrink:0}.studio-shell .drawer .settings .row{display:flex;gap:8px}
.studio-shell .drawer .ml-language{display:flex;flex-wrap:nowrap;border:1px solid var(--gold-line);border-radius:999px;overflow:hidden;gap:0}
.studio-shell .drawer .ml-language button{min-width:48px;height:40px;min-height:40px;padding:0;border:0;border-radius:0;background:transparent;font:600 14px var(--sans);color:var(--text)}
.studio-shell .drawer .ml-language button[aria-pressed=true]{background:var(--gold);color:var(--night)}
.studio-shell .drawer .ml-zone-music{margin:0;padding:0}.studio-shell .drawer .music-btn{font:600 14px var(--sans);border:1px solid var(--gold-line);border-radius:999px;height:40px;background:transparent;color:var(--text)}
.studio-shell .drawer .ml-zone-music details{display:none}
.studio-shell .drawer .music-control{display:flex;align-items:center;gap:8px}
.studio-shell.studio-menu-open{overflow:hidden}

@media(max-width:899px){.studio-shell .bar{padding:0 16px;height:56px}.studio-shell .bar nav a{display:none}.studio-shell .brand{font-size:15px}.studio-shell .menu-btn span.t{display:none}.studio-shell .menu-btn{width:44px;padding:0;justify-content:center}.studio-shell .drawer{width:100%;border-left:0}}
@media(max-width:600px){.studio-shell .read .body,.studio-shell .read li{font-size:17px;line-height:1.8}.studio-shell .read .two{grid-template-columns:1fr}.studio-shell footer{gap:16px;flex-wrap:wrap}}
@media(prefers-reduced-motion:no-preference){.studio-shell .drawer[open]{animation:studio-slide .2s ease-out}@keyframes studio-slide{from{transform:translateX(100%)}to{transform:translateX(0)}}}

.studio-shell .read>p.body,.studio-shell[data-studio-page="privacy"] .read p{margin-top:1.1em;font-size:18px;line-height:1.85;color:#DCD8E8}
.studio-shell .read .leadline+p.body{margin-top:28px}
@media(max-width:600px){.studio-shell[data-studio-page="privacy"] .read p{font-size:17px;line-height:1.8}}

.studio-shell dialog.drawer:not([open]){display:none}

body.studio-shell{height:auto}
.studio-shell .site-footer{border-top:1px solid var(--gold-faint);padding:22px 24px;display:flex;justify-content:center;gap:24px;font-size:14px;color:var(--soft);letter-spacing:normal}
.studio-shell .read .eb{text-transform:uppercase}
.studio-shell .read .studio-newsletter{margin-top:28px}
.studio-shell .studio-newsletter>summary{font-size:15px;color:var(--gold);cursor:pointer}

@media(max-width:600px){.studio-shell .site-footer{gap:16px;flex-wrap:wrap}}
/* The mock's decorative -60px gradient overhang must not create a phone scroll area. */
@media(max-width:899px){.studio-shell .read::before{left:0;right:0}}

.studio-shell .read .read-list h3{font-size:18px;font-weight:600;margin-top:28px;color:var(--star)}
.studio-shell[data-studio-page="privacy"] .read>h1+p{margin-top:14px;font-size:26px;line-height:1.4;color:var(--star);font-weight:500}
@media(max-width:600px){.studio-shell[data-studio-page="privacy"] .read>h1+p{font-size:22px}}

@media(max-width:600px){.studio-shell .read>p.body{font-size:17px;line-height:1.8}}

/* Match the mock document sizing; cosmic html height:100% otherwise repeats the propagated gradient each viewport. */
html:has(body.studio-shell){height:auto}
/* The retained subscription form uses the same mock frame/input tokens;
   its secondary action stays outlined so Send remains the sole filled action. */
.studio-shell .ml-subscribe{border:1px solid var(--gold-line);border-radius:var(--r);background:rgba(255,255,255,.03);padding:28px}
.studio-shell .ml-subscribe button{height:48px;padding:0 26px;border:1px solid var(--gold-line);border-radius:999px;background:transparent;color:var(--star);font:600 16px var(--sans)}
.studio-shell .ml-subscribe input[type=email]{height:50px;border:1px solid var(--gold-line);border-radius:12px;background:rgba(255,255,255,.04);padding:0 16px;font:400 16px var(--sans);color:var(--text)}

/* #498 review: service-page adapters use the approved Lessons spacing and tokens. */
.studio-shell[data-studio-page$="-lessons-malaysia"] .read .sub{margin-top:8px;font-size:18px;line-height:1.85}
.studio-shell[data-studio-page$="-lessons-malaysia"] .fees{margin-top:16px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.studio-shell[data-studio-page$="-lessons-malaysia"] .fee{padding:18px 20px}
.studio-shell[data-studio-page$="-lessons-malaysia"] .fee .p{display:block;margin-top:2px;font-size:26px;font-weight:600;color:var(--star)}
.studio-shell[data-studio-page$="-lessons-malaysia"] .fee .d{display:block;font-size:14px;color:var(--soft)}
.studio-shell[data-studio-page$="-lessons-malaysia"] .fee.star{box-shadow:0 0 0 1px var(--gold),0 0 30px rgba(217,196,142,.12)}
.studio-shell[data-studio-page$="-lessons-malaysia"] .steps{margin-top:16px;display:grid;gap:14px;counter-reset:s}
.studio-shell[data-studio-page$="-lessons-malaysia"] .step{display:grid;grid-template-columns:36px 1fr;gap:14px;font-size:17px;line-height:1.7;color:#DCD8E8}
.studio-shell[data-studio-page$="-lessons-malaysia"] .step::before{counter-increment:s;content:counter(s);width:32px;height:32px;border-radius:50%;border:1px solid var(--gold);display:grid;place-items:center;color:var(--gold);font-weight:700;font-size:15px}
.studio-shell[data-studio-page$="-lessons-malaysia"] .step h3{font-size:18px;font-weight:600;color:var(--star)}
.studio-shell[data-studio-page$="-lessons-malaysia"] .step .body{margin-top:4px;font-size:17px;line-height:1.7}
.studio-shell[data-studio-page$="-lessons-malaysia"] .top{margin-top:24px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.studio-shell[data-studio-page$="-lessons-malaysia"] .fit-list{margin-top:14px;padding-left:24px;list-style:disc}
.studio-shell[data-studio-page="lessons"] .book-note{margin-top:24px;margin-left:50px;font-size:17px;line-height:1.7;color:#DCD8E8}
/* Native radios retain their semantics and keyboard behaviour; labels are the visible chips. */
.studio-shell[data-studio-page="contact"] .chip{position:relative;display:inline-flex;align-items:center;white-space:nowrap;font-weight:400;cursor:pointer}
.studio-shell[data-studio-page="contact"] .chip input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.studio-shell[data-studio-page="contact"] .chip:has(input:checked){background:var(--gold);color:var(--night);border-color:var(--gold);font-weight:600}
.studio-shell[data-studio-page="contact"] .chip:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:3px}
.studio-shell[data-studio-page="contact"] .row:has(input[name="format"]){grid-template-columns:1fr}
.studio-shell[data-studio-page="contact"] .ml-subscribe{font-family:var(--sans);width:100%;max-width:none;margin-left:0;margin-right:0}
.studio-shell[data-studio-page="contact"] .ml-subscribe :is(p,label,legend,input,button){font-family:var(--sans)}
@media(max-width:600px){.studio-shell[data-studio-page$="-lessons-malaysia"] .fees{grid-template-columns:1fr}.studio-shell[data-studio-page$="-lessons-malaysia"] .top .btn{width:100%}}
