/* Scoped customer overrides: preserve desktop layout and natural document scrolling. */
.customer-body .work-announcement{overflow:hidden;max-width:100%;min-width:0;border-radius:16px;background:linear-gradient(110deg,#071b37,#123b65,#0a2444);color:#fff;border:1px solid rgba(183,215,245,.25);padding:11px 0}
.customer-body .work-announcement-track{display:flex;width:max-content;animation:customerNotice 65s linear infinite}
.customer-body .work-announcement-track>span{display:block;flex:0 0 auto;white-space:nowrap;padding:0 24px;color:#fff}
@keyframes customerNotice{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
 .customer-body .work-announcement-track{animation:none;width:auto}
 .customer-body .work-announcement-track>span{white-space:normal}
 .customer-body .work-announcement-track>[aria-hidden="true"]{display:none}
}
.tech-entry .auth-gold-window { height: 38px; }
.tech-entry .auth-gold-track { display: flex; width: max-content; max-width: none; animation: compactActivity 180s linear infinite; }
.tech-entry .auth-gold-group { flex-direction: row; flex: 0 0 auto; gap: 8px; padding: 0 8px 0 0; }
.tech-entry .auth-gold-row { display: flex; flex: 0 0 auto; gap: 8px; min-height: 34px; }
@keyframes compactActivity { to { transform: translateX(-50%); } }
@media (max-width: 768px) {
  body.tech-auth { min-height: 100dvh; overflow-x: clip; }
  .tech-auth .tech-shell, .tech-auth.tech-entry .tech-shell { min-height: 100dvh; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
  .tech-entry .tech-header { margin: 0 auto 8px; gap: 8px; width: 100%; max-width: 460px; }
  .tech-entry .tech-logo { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; }
  .tech-entry .tech-brand strong { font-size: 14px; }
  .tech-entry .tech-brand small { font-size: 10px; }
  .tech-entry .language-switcher { gap: 4px; }
  .tech-entry .language-switcher select { min-height: 34px; height: 34px; max-width: 100px; padding: 4px 8px; font-size: 12px; }
  .tech-entry .tech-intro { margin: 6px auto 8px; }
  .tech-entry .tech-intro .tech-kicker, .tech-entry .tech-intro > p { display: none; }
  .tech-entry .tech-intro h1 { font-size: clamp(19px, 5.5vw, 25px); line-height: 1.15; margin: 0; }
  .tech-entry .auth-gold-banner { width: 100%; max-width: 460px; display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 3px 6px; margin: 8px auto; padding: 8px 10px; border-radius: 18px; }
  .tech-entry .auth-gold-celebration h2 { font-size: 18px; line-height: 1.1; margin: 0; }
  .tech-entry .auth-gold-celebration p { display: none; }
  .tech-entry .auth-gold-trophy { width: 38px; height: 32px; }
  .tech-entry .auth-gold-activity { min-width: 0; }
  .tech-entry .auth-gold-activity h3 { font-size: 10px; line-height: 1.2; margin: 0 0 3px; color: #ffe39a; }
  .tech-entry .auth-gold-disclaimer { font-size: 10px; line-height: 1.2; margin: 3px 0 0; }
  .tech-entry .auth-gold-row { font-size: 11px; }
  .tech-auth.tech-entry .tech-card { max-width: 460px; margin: 8px auto 0; padding: 14px; border-radius: 22px; }
  .tech-entry .tech-card-top { font-size: 10px; margin-bottom: 5px; }
  .tech-entry .tech-card > h2 { font-size: 22px; line-height: 1.15; margin: 4px 0; }
  .tech-entry .tech-card > p { font-size: 12px; line-height: 1.35; margin: 4px 0 10px; }
  .tech-auth.tech-entry .tech-form { gap: 10px; margin-top: 8px; }
  .tech-auth.tech-entry .tech-form label { font-size: 12px; gap: 4px; }
  .tech-auth.tech-entry .tech-form .tech-invite-locked { display: none; }
  .tech-auth.tech-entry .tech-form input { min-height: 46px; height: 46px; padding: 10px 12px; font-size: 16px; scroll-margin-block: 20px; }
  .tech-entry .tech-password-row { min-height: 46px; }
  .tech-entry .tech-password-row button { min-width: 44px; min-height: 44px; }
  .tech-auth.tech-entry .tech-luxury-submit { min-height: 52px; height: 52px; margin-top: 2px; padding: 10px 34px; font-size: 17px; background: linear-gradient(110deg, #19c8e2, #2860ed); color: #fff; box-shadow: 0 6px 20px #159ae440; }
  .tech-entry .auth-login-tools { margin-top: 8px; gap: 8px; }
  .tech-entry .auth-login-tools > * { min-height: 44px; display: inline-flex; align-items: center; }
  .tech-auth.tech-entry .tech-switch { min-height: 48px; padding: 10px; margin-top: 8px; font-size: 12px; }
  .tech-entry .tech-steps { margin: 0 0 8px; }
  .tech-entry .tech-steps span { width: 24px; height: 24px; font-size: 11px; }
  .tech-entry .tech-applied { font-size: 11px; line-height: 1.2; margin: 0; }
  .tech-entry .tech-strength { margin-block: 0; }
  .tech-entry .tech-social { margin-top: 8px; }
  .tech-entry .tech-social-link { min-height: 44px; }
  .customer-body { overflow-x: clip; }
  .customer-body .customer-main { width: 100%; min-width: 0; padding: 10px 12px calc(104px + env(safe-area-inset-bottom)); }
  .customer-body .customer-header-inner { padding: 7px 12px; gap: 8px; }
  .customer-body .customer-topbar .brand { min-width: 0; flex: 1; gap: 6px; }
  .customer-body .customer-brand-copy { min-width: 0; }
  .customer-body .customer-brand-copy strong { font-size: clamp(11px, 3.2vw, 14px); white-space: normal; line-height: 1.15; }
  .customer-body .customer-brand-copy small { font-size: 10px; }
  .customer-body .customer-logo { width: 32px; height: 32px; }
  .customer-body .customer-header-actions { gap: 5px; flex-shrink: 0; }
  .customer-body .customer-language select { max-width: 95px; height: 34px; font-size: 12px; }
  .customer-body .customer-page-title { margin: 0 0 8px; padding: 0; }
  .customer-body .customer-page-title .eyebrow { display: none; }
  .customer-body .customer-page-title h1 { font-size: 22px; line-height: 1.2; margin: 0; }
  .customer-body .customer-intro-banner, .customer-body .page-hero-mini, .customer-body .illustration-strip { display: none; }
  .customer-body .bottom-nav { bottom: max(8px, env(safe-area-inset-bottom)); height: 68px; max-width: calc(100% - 24px); }
  .customer-body .customer-main-home { display: flex; flex-direction: column; gap: 10px; }
  .customer-main-home > * { margin-block: 0 !important; min-width: 0; }
  .customer-main-home > .customer-page-title { order: -7; }
  .customer-main-home > .employee-home-link { order: -6; min-height: 58px; padding: 10px 12px; }
  .customer-main-home > .market-wallet { order: -5; padding: 14px; min-height: 0; }
  .customer-main-home > .market-wallet-actions { order: -4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .customer-main-home > .dash-section { order: -3; padding: 12px; }
  .customer-main-home .market-wallet-actions a { min-height: 64px; height: auto; padding: 8px 3px; font-size: 12px; }
  .customer-main-home .market-wallet-top strong { font-size: clamp(26px, 8vw, 34px); }
  .customer-main-home .market-wallet-user { margin-bottom: 8px; }
  .customer-main-home .dash-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .customer-main-home .dash-progress article { padding: 10px 7px; min-height: 68px; }
  .customer-main-home .dash-progress strong { font-size: clamp(14px, 4vw, 19px); overflow-wrap: anywhere; }
  .customer-main-home .dash-progress span { font-size: 11px; }
  .customer-main-home .dash-section h2 { font-size: 16px; margin: 0 0 8px; }
  .customer-main-home .customer-greeting { display: none; }
}
@media (max-width: 768px) and (max-height: 700px) {
  .tech-entry .tech-intro { margin-block: 3px; }
  .tech-entry .auth-gold-banner { margin-block: 5px; padding-block: 5px; }
  .tech-auth.tech-entry .tech-card { padding: 10px 12px; margin-top: 5px; }
  .tech-entry .tech-card-top { display: none; }
  .tech-auth.tech-entry .tech-form { gap: 7px; }
  .tech-entry .tech-card > p { margin-bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-entry .auth-gold-track { animation: none; }
  .tech-entry .auth-gold-window { overflow-x: auto; }
}

html:lang(my) :is(.tech-auth,.customer-body,.post-viewer-body) {
  font-family: "Noto Sans Myanmar", "Myanmar Text", Padauk, system-ui, sans-serif;
  line-height: 1.65;
}
html:lang(am) :is(.tech-auth,.customer-body,.post-viewer-body) {
  font-family: "Noto Sans Ethiopic", Nyala, system-ui, sans-serif;
}
html:lang(ar) :is(.tech-auth,.customer-body,.post-viewer-body) {
  font-family: "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
}
html:is(:lang(my),:lang(am),:lang(ar)) :is(.tech-form input,.tech-form select,.language-switcher select) {
  font-family: inherit;
}
/* Reduce visual bulk, not browser scale or accessible tap targets. */
@media(max-width:768px){
 .customer-body .customer-main{padding-top:8px;padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .customer-body .card{padding:11px;margin-bottom:10px}
 .customer-body .customer-page-title h1{font-size:20px}
 .customer-body .card h2{font-size:17px}
 .customer-body .market-wallet{padding:12px}
 .customer-main-home .market-wallet-top strong{font-size:clamp(24px,7vw,30px)}
 .customer-main-home .market-wallet-actions a{min-height:56px;padding:7px 3px}
 .customer-main-home .dash-progress article{padding:8px 6px;min-height:60px}
 .customer-body .profile-head{padding:12px 0}
 .customer-body .profile-avatar{width:60px;height:60px}
 .customer-body .profile-actions a{padding:10px 6px}
 .customer-body .task-center-stats{gap:8px}
 .customer-body .task-center-stats .card{padding:10px}
 .customer-body .bottom-nav{height:62px}
 .customer-body .bottom-nav a{min-height:44px;font-size:12px;min-width:0}
 .customer-body .bottom-nav svg{width:21px;height:21px}
 .customer-body .bottom-nav span{font-size:12px;white-space:nowrap}
 .customer-body :is(button,.btn,input,select){min-height:44px}
 .tech-auth.tech-entry .tech-card{padding:12px}
 .tech-auth.tech-entry .tech-card>h2{font-size:20px}
 .tech-auth.tech-entry .tech-form{gap:9px}
 .tech-auth.tech-entry .tech-switch{min-height:44px}
}
