/* Public pages: logical layout, Hebrew typography, and isolated technical inputs. */
html[lang="he"] { direction: rtl; }
html[lang="he"] body { direction: rtl; font-family: "Segoe UI", Arial, sans-serif; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3,
html[lang="he"] button, html[lang="he"] input, html[lang="he"] textarea,
html[lang="he"] select, html[lang="he"] label { font-family: inherit; letter-spacing: normal; }
html[lang="he"] .legal-card, html[lang="he"] .form-field,
html[lang="he"] .gcard, html[lang="he"] .post-content,
html[lang="he"] .thread-body, html[lang="he"] .reply-body,
html[lang="he"] .form-input, html[lang="he"] .cf-input,
html[lang="he"] .cf-textarea { text-align: start; }
html[lang="he"] th { text-align: start; }
html[lang="he"] input[type="email"], html[lang="he"] input[type="url"],
html[lang="he"] input[type="password"], html[lang="he"] input[autocomplete="one-time-code"],
html[lang="he"] code, html[lang="he"] kbd, html[lang="he"] pre {
  direction: ltr; unicode-bidi: isolate;
}
html[lang="he"] input[type="email"], html[lang="he"] input[type="url"],
html[lang="he"] input[type="password"] { text-align: start; }
html[lang="he"] input::placeholder { direction: rtl; text-align: right; }
html[lang="he"] .legal-card ul { padding-left: 0; padding-inline-start: 22px; }
html[lang="he"] .gcard ul, html[lang="he"] .gcard ol { margin-left: 0; margin-inline-start: 22px; padding-inline-start: 14px; }
html[lang="he"] .tip, html[lang="he"] .warn, html[lang="he"] .note { padding: 13px 46px 13px 16px; }
html[lang="he"] .tip::before, html[lang="he"] .warn::before, html[lang="he"] .note::before { left: auto; right: 14px; }
html[lang="he"] .topnav .nav-cta { margin-left: 0; margin-inline-start: 8px; }
html[lang="he"] .card .num { right: auto; left: 16px; }
html[lang="he"] .brand-text, html[lang="he"] .legal-title,
html[lang="he"] .legal-back, html[lang="he"] .eyebrow,
html[lang="he"] .brand-wordmark, html[lang="he"] .brand-wordmark small { letter-spacing: normal; }
html[lang="he"] #pkw-lang, html[lang="he"] #language-slot,
html[lang="he"] #hud-lang-mini, html[lang="he"] #hud-lang-full,
html[lang="he"] .langbar, html[lang="he"] .langrow { display: none !important; }

/* The portal's desktop column order and navigation follow reading order. */
html[lang="he"] .world-portal { --sans: "Segoe UI", Arial, sans-serif; }
html[lang="he"] .world-portal .header-nav { margin-left: 0; margin-inline-start: auto; }
html[lang="he"] .world-portal .input-shell > .icon { margin-left: 0; margin-inline-start: 13px; }
html[lang="he"] .world-portal .login-heading,
html[lang="he"] .world-portal .partner-note,
html[lang="he"] .world-portal .starter-header,
html[lang="he"] .world-portal .world-feature,
html[lang="he"] .world-portal .hero-identity,
html[lang="he"] .world-portal .world-about { text-align: start; }
html[lang="he"] .world-portal .brand { gap: 12px; }
html[lang="he"] .world-portal .brand-world { margin-inline-start: .2em; }
html[lang="he"] .world-portal .brand-wordmark small { font-size: 9px; line-height: 1.4; }
html[lang="he"] .world-portal .eyebrow { font-size: 11px; }
html[lang="he"] .world-portal .dialog-close { right: auto; left: 16px; }
html[lang="he"] .world-portal .button-arrow,
html[lang="he"] .world-portal .icon:has(use[href="#i-arrow"]) { transform: scaleX(-1); }
html[lang="he"] .world-portal .starter-check { right: auto; left: 8px; }
html[lang="he"] .world-portal .skip-link { left: auto; right: 15px; }
@media (max-width: 760px) {
  html[lang="he"] .world-portal .brand { font-size: 22px; }
  html[lang="he"] .world-portal .brand-wordmark small { font-size: 7px; }
  html[lang="he"] .world-portal .portal-header { gap: 10px; }
  html[lang="he"] .world-portal .primary-button { white-space: normal; }
}
