/* Text-led glass controls; no decorative directional icons. */
:root{--glass-tint:rgba(31,76,115,.11);--glass-edge:rgba(57,99,136,.28);--glass-text:#183e5c}
html[data-profile="business"]{--glass-tint:rgba(255,176,86,.13);--glass-edge:rgba(255,190,113,.35);--glass-text:#ffcf99}
html[data-profile] body :is(.enter-room,.enter-venture,.venture-launch a,.room-actions a,.lab-entry a,.lab-link,.arcade-play,.studio-signoff a,.teacher-letter>a,.classroom-signoff a,.spanish-signoff a,.process-panel>a,.numbers-output>a,.pdf-download,.ai-back,.btn-primary,.btn-plain,.lab-actions button,.icon-btn,.to-top,.lab-home-link>span){display:inline-flex;align-items:center;justify-content:center;gap:0;min-height:46px;padding:13px 24px;border:1px solid var(--glass-edge);border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.025)),var(--glass-tint);color:var(--glass-text);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 7px 22px rgba(0,0,0,.09);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);font-size:14px;font-weight:600;line-height:1.4;letter-spacing:.01em;text-decoration:none;text-transform:none;transition:background .25s,box-shadow .25s,transform .25s;max-width:100%;text-align:center}
html[data-profile] body :is(.enter-room,.enter-venture,.venture-launch a,.room-actions a){--glass-tint:rgba(12,28,44,.5);--glass-edge:rgba(255,255,255,.45);--glass-text:#fff;padding:17px 30px}
html[data-profile="business"] :is(.enter-venture,.venture-launch a){--glass-tint:rgba(103,64,27,.55);--glass-text:#ffdfb8}
html[data-profile] body :is(.lab-home-link>span,.studio-signoff a,.teacher-letter>a,.classroom-signoff a,.spanish-signoff a){--glass-text:inherit}
html[data-profile] body :is(.enter-room,.enter-venture,.venture-launch a,.room-actions a,.lab-entry a,.lab-link,.arcade-play,.studio-signoff a,.teacher-letter>a,.classroom-signoff a,.spanish-signoff a,.process-panel>a,.numbers-output>a,.pdf-download,.ai-back,.btn-primary,.btn-plain,.lab-actions button,.icon-btn,.to-top):hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 10px 26px rgba(0,0,0,.16);filter:brightness(1.08)}
html[data-profile] body :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:5px}
.to-top{width:auto;height:auto;min-width:62px;padding:10px 18px}.icon-btn{width:auto;min-width:70px}.lab-home-link>span{margin-top:16px}.process-panel>a{align-self:flex-start}.numbers-output>a{--glass-text:#7c3c0c}.arcade-play::before,.arcade-play::after,.enter-room::after,.enter-venture::after,.venture-launch a::after{display:none}.workbench-links a{grid-template-columns:45px 1fr}.tile-label>span:empty{display:none}
@media(prefers-reduced-motion:reduce){a,button{transition:none!important}}
/* Ivory on navy keeps the teacher link legible over the dark closing section. */
html[data-profile="spanish"] .teacher-letter>a{--glass-text:#fffaf1;--glass-tint:rgba(255,255,255,.12);--glass-edge:rgba(255,255,255,.55);color:#fffaf1;font-style:normal;min-width:164px;font-size:18px}
@font-face{font-family:'Cormorant Garamond';src:url('/fonts/cormorant-garamond.ttf') format('truetype');font-style:normal;font-weight:300 700;font-display:swap}
html[data-profile] #siteNav .nav-links a,html[data-profile] #siteNav .nav-links button,html[data-profile] .tool-tabs .tab-btn,html[data-profile] .lab-tabs button{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:19px;font-weight:600;letter-spacing:.015em;line-height:1.25}
html[data-profile] #siteNav .profile-btn{font-size:20px}
html[data-profile] #siteNav .lang-btn{font-size:17px}
@media(max-width:1150px){html[data-profile] #siteNav .nav-links a,html[data-profile] #siteNav .nav-links button{font-size:17px}}
@media(max-width:700px){html[data-profile] .tool-tabs .tab-btn,html[data-profile] .lab-tabs button{font-size:18px}}

/* Labels must never inherit geometry reserved for the removed arrow discs. */
html[data-profile] body :is(.enter-room,.enter-venture,.venture-launch a,.arcade-play){padding:17px 28px;gap:0;justify-content:center;align-items:center;min-height:56px;height:auto;width:auto;box-sizing:border-box}
html[data-profile] body :is(.enter-room,.enter-venture,.venture-launch a,.arcade-play)>span{display:block;position:static;width:auto;height:auto;margin:0;padding:0;border:0;background:none;box-shadow:none;transform:none;font:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;white-space:normal;text-align:center}
html[data-profile] body .teacher-letter>a{color:#fffaf1;--glass-text:#fffaf1;--glass-tint:rgba(255,255,255,.12);--glass-edge:rgba(255,255,255,.55)}
html[data-profile] body .numbers-output>a{color:#783708;--glass-text:#783708}
html[data-profile] body .lab-home-link>span{color:inherit}
html[data-profile] body .studio-signoff a{color:#ffcf99}
html[data-profile] body .to-top{width:auto;height:auto;min-width:62px;padding:10px 18px}
html[data-profile] body .workbench-links>a{grid-template-columns:45px minmax(0,1fr)}
@media(max-width:700px){html[data-profile] body .workbench-links>a{grid-template-columns:24px minmax(0,1fr)}html[data-profile] body :is(.enter-room,.enter-venture,.venture-launch a,.arcade-play){padding:16px 24px;font-size:15px}}
html[data-profile="business"] body :is(.enter-venture,.venture-launch a){--glass-tint:rgba(103,64,27,.55);--glass-edge:rgba(255,206,149,.6);--glass-text:#ffdfb8}
/* Match the classroom invitation to the navigation typography. */
html[data-profile="spanish"] body .room-intro .enter-room{font-family:'Cormorant Garamond',Georgia,serif;font-size:20px;font-weight:600;line-height:1.25;letter-spacing:.015em}
