.tablet-languages{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin:0 0 24px}
.tablet-language{min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.6);color:var(--ink);font-size:14px;cursor:pointer}
.tablet-language[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:white}
.tablet-language:focus-visible{outline:3px solid #9bb9ca;outline-offset:3px}
.tablet-language:disabled{opacity:.45;cursor:wait}
.entry-page>.tablet-languages{position:absolute;top:20px;right:22px;left:22px;margin:0;z-index:2}
.translation-notice{padding:14px 18px;border:1px solid #a78d4e;border-radius:12px;background:#fff9e8;color:#69551e;line-height:1.7;margin:0 0 20px;font-size:14px}
.language-signing-note{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 16px}
.number-entry .entry-label{margin-bottom:14px}
html[lang="en"] h1,html[lang="en"] .survey-copy strong{word-break:normal;overflow-wrap:break-word}
html[lang="ja"] body{font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}
html[lang="zh-Hans"] body{font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
html[lang="en"] .entry-label,html[lang="en"] .confirm-title{font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.35;letter-spacing:-.02em}
.entry-page .entry-brand{top:5.5rem}
.entry-page .number-entry,.entry-page .confirm-entry{padding-top:7rem}
.entry-page .existing-flow{padding-top:12rem}
@media(max-width:600px){.tablet-language{padding:9px 12px;font-size:13px}.entry-page>.tablet-languages{top:12px;left:12px;right:12px;justify-content:center}.tablet-languages{justify-content:center}.progress .step{overflow-wrap:break-word}.actions-inner{flex-wrap:wrap;gap:8px}.actions-inner .cancel{margin-right:auto}.actions-inner .primary{max-width:100%;white-space:normal}.survey-copy strong{word-break:normal}.consent-sheet .consent-title{line-height:1.4}.signature-head{align-items:flex-start;gap:8px}.signature-head h2{line-height:1.5}.existing-visit strong{font-size:23px}}
@media(min-height:701px) and (max-height:800px){.entry-page .entry-brand{top:4rem}}
@media(max-height:700px) and (min-width:601px){.entry-page .entry-brand{top:4.2rem}.entry-page .number-entry{padding-top:8rem}.entry-page{overflow:visible}.entry-page>.tablet-languages{top:10px}.number-entry{padding-bottom:40px}}

/* Give the landscape phone-entry screen a real logo-to-heading gap. */
@media (orientation:landscape) and (min-width:601px){
  .entry-page:has(>.number-entry){
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:clamp(40px,6vh,72px);
    padding:72px 0 24px;
  }
  .entry-page:has(>.number-entry)>.entry-brand{
    position:static;
    transform:none;
  }
  .entry-page>.number-entry{
    padding:0;
  }
}
@media (orientation:landscape) and (min-width:601px) and (max-height:800px){
  .entry-page:has(>.number-entry){padding-top:64px}
  .entry-page>.number-entry .number-input{padding-bottom:12px}
  .entry-page>.number-entry .keypad{margin-top:16px;gap:8px}
  .entry-page>.number-entry .keypad-button{height:56px}
  .entry-page>.number-entry .next-button{margin-top:16px}
}
@media (orientation:landscape) and (min-width:601px) and (max-height:700px){
  .entry-page>.number-entry .keypad-button{height:50px}
}
@media (orientation:landscape) and (min-width:601px) and (max-height:600px){
  .entry-page:has(>.number-entry){gap:24px;padding:64px 0 24px}
  .entry-page:has(>.number-entry) .brand-name{width:250px}
  .entry-page>.number-entry .entry-label{font-size:2rem;margin-bottom:12px}
  .entry-page>.number-entry .number-input{font-size:3rem;padding:8px 20px 12px}
  .entry-page>.number-entry .keypad{margin-top:12px;gap:6px}
  .entry-page>.number-entry .keypad-button{height:44px}
  .entry-page>.number-entry .next-button{height:48px;margin-top:12px}
}
