:root{--tr-final-green:#003e33;--tr-final-gold:#efbd50;--tr-final-cream:#fbf8ef}
html{scroll-behavior:smooth}
body:has([data-tajroom-header]){background:radial-gradient(circle at 92% 3%,#e7f1e9,transparent 28%),var(--tr-final-cream)}
.tn-header{background:linear-gradient(115deg,#002d29,#005447 65%,#00352d);border-bottom:1px solid #d9b65e}
.tn-brand{font-family:Georgia,serif;letter-spacing:-.02em}
.tn-major-icon{display:grid;place-items:center;height:27px;color:#f4d17c}
.tn-major-icon svg{display:block}
.tn-account-panel::before{display:none}
.tn-account-panel,.tn-notification-panel{max-height:calc(100vh - 90px);overflow:auto}
.tn-account-panel a,.tn-account-panel button{gap:10px}
.tn-mobile-links{z-index:55}
.tn-mobile-links .tn-major-icon{margin-inline-end:8px}
.tr-home-main{overflow:hidden}
.tr-approved-hero{direction:ltr;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(365px,.8fr);width:min(calc(100% - 36px),1550px);min-height:575px;margin:24px auto 0;border:1px solid #d3ad58;border-radius:26px;overflow:hidden;background:linear-gradient(145deg,#00372f,#005a4b 80%);box-shadow:0 26px 60px #173d3028}
.tr-hero-visual{position:relative;min-width:0;min-height:575px;overflow:hidden;background:#003b31}
.tr-hero-visual img{position:absolute;display:block;max-width:none;width:160%;height:auto;left:0;top:0}
.tr-hero-copy{direction:ltr;align-self:center;padding:40px clamp(26px,4vw,70px);color:#fff}
html[dir=rtl] .tr-hero-copy{direction:rtl}
.tr-hero-kicker{display:inline-flex;align-items:center;min-height:35px;margin:0 0 17px;padding:4px 16px;border:1px solid #f3c862;border-radius:99px;background:#efbd50;color:#082f29;font-weight:800;font-size:.94rem}
.tr-hero-copy h1{margin:0;font-size:clamp(2.2rem,3.35vw,3.75rem);line-height:1.22;letter-spacing:-.025em;color:#fff;text-wrap:balance}
html[dir=rtl] .tr-hero-copy h1{letter-spacing:0;line-height:1.38}
.tr-hero-copy>p:not(.tr-hero-kicker){max-width:560px;margin:22px 0 0;color:#e0eee7;font-size:clamp(1.02rem,1.33vw,1.23rem);line-height:1.8}
.tr-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.tr-hero-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 22px;border-radius:15px;font-weight:800;text-decoration:none;text-align:center}
.tr-hero-actions .tr-cta-primary{background:linear-gradient(145deg,#f6cf72,#e8aa36);color:#072e28;box-shadow:0 10px 22px #001e1a38}
.tr-hero-actions .tr-cta-secondary{border:1px solid #ebbd54;color:#fff;background:#ffffff0b}
.tr-hero-actions a:hover{transform:translateY(-2px);filter:brightness(1.05)}
.tr-feature-grid{width:min(calc(100% - 36px),1550px);margin:18px auto 52px;gap:14px}
.tr-feature{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:146px;padding:20px 15px;border:1px solid #caa94d;border-radius:21px;background:linear-gradient(145deg,#0d5647,#003b32);box-shadow:0 12px 26px #143e3022}
.tr-feature-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:10px;color:#f3c257}
.tr-feature-icon svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tr-feature strong{max-width:210px;color:#fff;font-size:1.02rem;line-height:1.5}
.p-narrow{padding-top:clamp(35px,5vw,75px);padding-bottom:70px}
.p-auth-card,.p-card{border:1px solid #e7d8b7;border-radius:23px;background:#fffefa;box-shadow:0 18px 45px #1d483115}
.p-auth-card{padding:clamp(24px,4vw,40px)}
.p-hero .p-eyebrow{color:#9b751f;font-weight:800;letter-spacing:.1em}
.p-hero .p-title{color:#004437;line-height:1.18}
.p-form input:not([type=checkbox]),.p-form select,#payment-form select,#payment-form input:not([type=checkbox]){border:1px solid #c9d7ce;border-radius:12px;background:#fff;min-height:48px}
.p-form input:focus-visible,.p-form select:focus-visible,#payment-form select:focus-visible{outline:3px solid #efca77;outline-offset:1px}
.p-form button[type=submit],#payment-form button[type=submit]{border-radius:13px;background:linear-gradient(140deg,#00745c,#004739);color:#fff;min-height:48px}
.p-footer{color:#61746a}
body[data-workspace-page=rooms] .w-room-card,body[data-platform-page=plans] .plan-card,body[data-platform-page=account] .p-card{box-shadow:0 15px 38px #1d483113}
@media(max-width:1100px){.tr-approved-hero{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);min-height:520px}.tr-hero-visual{min-height:520px}.tr-hero-visual img{width:185%}.tr-hero-copy{padding:30px}.tr-hero-copy h1{font-size:clamp(2rem,3.7vw,3rem)}}
@media(max-width:760px){.tr-approved-hero{grid-template-columns:1fr;min-height:0;width:min(calc(100% - 20px),1550px);margin-top:12px}.tr-hero-copy{grid-row:1;padding:30px 25px 27px}.tr-hero-visual{grid-row:2;min-height:310px}.tr-hero-visual img{width:160%;top:-8px}.tr-hero-copy h1{font-size:clamp(2rem,6vw,3rem)}.tr-feature-grid{width:min(calc(100% - 20px),1550px);grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tr-feature{min-height:130px;padding:16px 10px}}
@media(max-width:480px){.tr-hero-visual{min-height:240px}.tr-hero-copy{padding:27px 20px}.tr-hero-copy h1{font-size:clamp(1.8rem,8vw,2.35rem)}.tr-hero-copy>p:not(.tr-hero-kicker){font-size:.99rem;margin-top:15px}.tr-hero-actions{margin-top:22px}.tr-hero-actions a{width:100%}.tr-feature strong{font-size:.91rem}.tr-feature-icon svg{width:33px;height:33px}}

/* Approved bilingual homepage: keep the original classroom photograph and navigation. */
body[data-platform-page="home"]{background:#fbf8ef}
body[data-platform-page="home"] .tr-approved-hero{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);min-height:500px;margin-top:18px;border-color:#d7ba70;border-radius:22px;background:linear-gradient(112deg,#00473b,#00594a 68%,#003d33);box-shadow:0 18px 42px #173d3022}
body[data-platform-page="home"] .tr-hero-visual{min-height:500px}
body[data-platform-page="home"] .tr-hero-visual img{width:165%;left:0;top:0}
body[data-platform-page="home"] .tr-hero-copy{padding:30px clamp(28px,3.3vw,58px)}
body[data-platform-page="home"] .tr-hero-copy h1{font-size:clamp(2.1rem,3vw,3.35rem);line-height:1.16;letter-spacing:-.025em}
html[dir=rtl] body[data-platform-page="home"] .tr-hero-copy h1{line-height:1.35;letter-spacing:0}
body[data-platform-page="home"] .tr-hero-copy>p:not(.tr-hero-kicker){margin-top:18px;font-size:clamp(1rem,1.25vw,1.15rem);line-height:1.66}
body[data-platform-page="home"] .tr-hero-actions{gap:11px;margin-top:24px}
body[data-platform-page="home"] .tr-hero-actions a{min-height:49px;padding:9px 20px;border-radius:12px}
body[data-platform-page="home"] .tr-feature-grid{direction:ltr;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:18px;margin-bottom:42px}
body[data-platform-page="home"] .tr-feature{min-height:142px;padding:18px 14px;border:1px solid #e7dbc7;border-radius:20px;background:linear-gradient(155deg,#fffdf8,#f7f0e4);box-shadow:0 10px 24px #2b3e2f12;text-align:center}
body[data-platform-page="home"] .tr-feature-icon{width:42px;height:42px;margin-bottom:8px;color:#075143}
body[data-platform-page="home"] .tr-feature-icon svg{width:37px;height:37px;stroke-width:1.55}
body[data-platform-page="home"] .tr-feature strong{color:#113b32;font-size:1.02rem;line-height:1.43;direction:inherit}
html[dir=rtl] body[data-platform-page="home"] .tr-feature strong{direction:rtl}
@media(max-width:1280px) and (min-width:761px){
  body[data-platform-page="home"] .tr-approved-hero{grid-template-columns:minmax(0,1fr) minmax(0,.96fr);min-height:445px}
  body[data-platform-page="home"] .tr-hero-visual{min-height:445px}
  body[data-platform-page="home"] .tr-hero-visual img{width:205%}
  body[data-platform-page="home"] .tr-hero-copy{padding:24px clamp(22px,2.4vw,35px)}
  body[data-platform-page="home"] .tr-hero-copy h1{font-size:clamp(1.95rem,3.25vw,2.9rem)}
}
@media(max-width:900px) and (min-width:761px){
  body[data-platform-page="home"] .tr-approved-hero{grid-template-columns:1fr;min-height:0}
  body[data-platform-page="home"] .tr-hero-copy{grid-row:1;padding:30px}
  body[data-platform-page="home"] .tr-hero-visual{grid-row:2;min-height:430px}
  body[data-platform-page="home"] .tr-hero-visual img{width:145%;clip-path:inset(0 36% 0 0)}
}
@media(max-width:760px){
  body[data-platform-page="home"] .tr-approved-hero{grid-template-columns:1fr;min-height:0;margin-top:12px}
  body[data-platform-page="home"] .tr-hero-copy{grid-row:1;padding:28px 24px 25px}
  body[data-platform-page="home"] .tr-hero-visual{grid-row:2;min-height:clamp(240px,55vw,340px)}
  body[data-platform-page="home"] .tr-hero-visual img{width:160%;top:0}
  body[data-platform-page="home"] .tr-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body[data-platform-page="home"] .tr-feature{min-height:128px;padding:15px 9px}
}
@media(max-width:480px){
  body[data-platform-page="home"] .tr-hero-copy{padding:26px 21px 23px}
  body[data-platform-page="home"] .tr-hero-copy h1{font-size:clamp(1.75rem,7.5vw,2.25rem)}
  body[data-platform-page="home"] .tr-hero-copy>p:not(.tr-hero-kicker){font-size:.98rem;line-height:1.62;margin-top:15px}
  body[data-platform-page="home"] .tr-hero-actions{margin-top:20px}
  body[data-platform-page="home"] .tr-hero-actions a{width:100%}
  body[data-platform-page="home"] .tr-feature strong{font-size:.9rem}
}
@media(max-width:360px){
  body[data-platform-page="home"] .tr-hero-visual{min-height:clamp(195px,60vw,215px)}
  body[data-platform-page="home"] .tr-hero-visual img{width:150%;clip-path:inset(0 7% 0 0)}
}

/* Homepage hero: keep the approved photo's embedded copy outside the visible crop. */
@media(min-width:901px){
  body[data-platform-page="home"] .tn-inner{min-height:74px}
  body[data-platform-page="home"] .tn-links .tn-major-link{min-height:60px;padding-block:5px}
  body[data-platform-page="home"] .tr-approved-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);min-height:clamp(400px,29vw,480px)}
  body[data-platform-page="home"] .tr-hero-visual{min-height:clamp(400px,29vw,480px)}
  body[data-platform-page="home"] .tr-hero-visual img{width:154%;top:-30px;clip-path:none}
  body[data-platform-page="home"] .tr-hero-visual::after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:22px;background:linear-gradient(to bottom,transparent,#003b31 50%)}
  body[data-platform-page="home"] .tr-hero-copy{padding:24px clamp(26px,3vw,46px)}
  body[data-platform-page="home"] .tr-hero-copy h1{font-size:clamp(2rem,2.65vw,3rem)}
  body[data-platform-page="home"] .tr-hero-copy>p:not(.tr-hero-kicker){font-size:clamp(1rem,1.15vw,1.1rem);line-height:1.58}
}
@media(min-width:901px) and (max-width:1280px){
  body[data-platform-page="home"] .tr-approved-hero,
  body[data-platform-page="home"] .tr-hero-visual{min-height:400px}
  body[data-platform-page="home"] .tr-hero-visual img{top:-20px}
}
@media(max-width:900px){
  body[data-platform-page="home"] .tr-approved-hero{grid-template-columns:1fr;min-height:0}
  body[data-platform-page="home"] .tr-hero-visual{grid-row:1;min-height:min(62vw,540px)}
  body[data-platform-page="home"] .tr-hero-visual img{width:154%;top:-25px;clip-path:none}
  body[data-platform-page="home"] .tr-hero-copy{grid-row:2}
}
@media(max-width:760px){
  body[data-platform-page="home"] .tr-hero-visual{min-height:58vw}
  body[data-platform-page="home"] .tr-hero-visual img{top:-12px}
}
