/* work.hasama.co.il: Hasama colors and right-to-left layout for the worker pages of the AI-training app. */
:root {
  --lm-primary: #2a78d6; --lm-primary-hover: #256abf; --lm-primary-soft: #e8f1fc;
  --lm-bg: #f9f9f7; --lm-text: #0b0b0b; --lm-muted: #6f6d68; --lm-border: #e3e2de;
  --lm-font: system-ui, -apple-system, "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif;
}
html[dir="rtl"] body { font-family: var(--lm-font); }
html[dir="rtl"] input[type="password"], html[dir="rtl"] input[autocomplete="username"], html[dir="rtl"] code { direction: ltr; text-align: right; }
html[dir="rtl"] .wk-button-primary { background: #2a78d6; border-color: #2a78d6; }
html[dir="rtl"] .wk-eyebrow, html[dir="rtl"] .wk-tabs button[aria-selected=true] { color: #2a78d6; border-bottom-color: #2a78d6; }
html[dir="rtl"] .wk-day small { margin-left: 0; margin-right: 8px; }
/* the Hebrew login page (hasama/work-login.php) */
.pass-row { display: flex; gap: 8px; }
.pass-row input { flex: 1; min-width: 0; }
.pass-toggle { flex: none; border: 1px solid var(--border, #ddd); background: var(--surface, #fff); color: var(--text, #111); border-radius: 10px; padding: 0 14px; font: inherit; cursor: pointer; }
/* the old theme writes its brand into the page header with CSS */
html[data-hasama="work"] .lm-breadcrumb::before { content: "Hasama"; }
/* the theme's brand word, renamed in CSS as well (works before scripts run) */
.dp-brand-word { font-size: 0; }
.dp-brand-word::after { content: "Hasama"; font-size: 20px; }
.lm-public .lm-public-header .dp-brand-word::after { font-size: 23px; }
