/* The application form on the careers page and on each role's page — every control the same height, edge and focus,
   in both themes. Colors come from the site tokens. */
.cr-label, .ix-2d6eb92a { display: block; margin: 0 0 .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .01em; text-transform: none; color: var(--fg); }
.cr-in, .cr-step2 .xs-wrap .xs-input, .cr-step2 .cf-captcha-input, .cr-step2 .tg-input {
  width: 100%; min-height: 46px; box-sizing: border-box; padding: .7rem .9rem; border: 1.5px solid var(--border-2, var(--border)); border-radius: 10px;
  background: var(--bg-card, var(--bg)); color: var(--fg); font: inherit; font-size: .95rem; line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.cr-in::placeholder { color: var(--fg-subtle, var(--fg-muted)); opacity: 1; }
.cr-in:hover:not(:disabled) { border-color: color-mix(in srgb, var(--accent) 45%, var(--border-2, var(--border))); }
.cr-in:focus, .cr-in:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.cr-in:user-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.cr-in:disabled { background: var(--bg-2, var(--bg)); color: var(--fg-muted); cursor: not-allowed; }
select.cr-in { appearance: none; -webkit-appearance: none; padding-inline-end: 2.4rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; background-position: calc(100% - 1.15rem) 52%, calc(100% - .85rem) 52%; }
[dir="rtl"] select.cr-in { background-position: 1.15rem 52%, .85rem 52%; }
.cr-ta { min-height: 8.5rem; resize: vertical; margin: 0 0 1rem; line-height: 1.65; }
.cr-email-wrap .cr-email { padding-inline-end: 7rem; }
.cr-inline-btn { min-height: 34px; padding: .45rem 1rem; border-radius: 8px; font-size: .8rem; }
.cr-inline-btn:disabled { background: transparent; color: var(--fg-muted); border: 1px solid var(--border-2, var(--border)); }
.cr-file { width: 100%; font: inherit; font-size: .9rem; color: var(--fg); }
.cr-step2 input[type="checkbox"], .cr-share input[type="checkbox"] { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .2rem; accent-color: var(--accent); cursor: pointer; }
.cr-submit { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 2.2rem; border: 0; border-radius: 10px;
  background: var(--accent); color: #1a1204; font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; transition: filter .18s ease, transform .18s ease; }
.cr-submit:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.cr-submit:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .45); outline-offset: 2px; }
.cr-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.cr-locked.is-locked .cr-step2 { opacity: .62; pointer-events: none; }
.cr-lock-overlay { color: var(--accent-text, var(--accent)); }
.cr-flash { max-width: 860px; margin: 1rem auto; padding: .85rem 1.25rem; border-radius: 10px; line-height: 1.6; }
.cr-flash.is-ok { background: rgba(22, 163, 74, .08); border: 1px solid rgba(22, 163, 74, .25); color: #15803d; }
.cr-flash.is-bad { background: rgba(220, 38, 38, .08); border: 1px solid rgba(220, 38, 38, .25); color: #b91c1c; }
[data-theme="dark"] .cr-flash.is-ok { color: #4ade80; } [data-theme="dark"] .cr-flash.is-bad { color: #f87171; }
.cr-grid, .cr-more { gap: 1rem 1.1rem; }
@media (prefers-reduced-motion: reduce) { .cr-in, .cr-submit { transition: none; } }
.cr-lc:empty { display: none; }
.cr-lc { display: block; margin-top: .4rem; }
/* the address is always written left to right, so its button sits on the right in both languages */
.cr-email-wrap .cr-inline-btn { inset-inline-end: auto; inset-inline-start: auto; right: 6px; left: auto; }
.cr-email-wrap .cr-email { padding-right: 7rem !important; padding-left: .8rem !important; }
.cr-in.lc-bad, .cr-in.lc-bad:focus { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .14) !important; }

/* fields side by side: three across on a wide screen, two on a tablet, one on a phone */
.cr-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.1rem; margin: .4rem 0 1.1rem; align-items: start; }
.cr-fields > div { min-width: 0; }
.cr-other { margin-top: .5rem; }
.cr-other:not([hidden]) { animation: cr-in .18s ease-out; }
@keyframes cr-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.cr-fixed { display: flex; align-items: center; font-weight: 600; background: color-mix(in srgb, var(--accent) 7%, var(--bg-card, #fff)); border-style: dashed; cursor: default; }
.cr-pair { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem 1.1rem; align-items: start; margin-bottom: 1.1rem; }
.cr-pair > div { min-width: 0; margin: 0; }
.cr-pair .cr-ta { min-height: 9.5rem; }
.cr-s1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .5rem 1.5rem; align-items: start; }
.cr-s1-main, .cr-s1-side { min-width: 0; }
.cr-s1-side { padding-top: 1.65rem; display: grid; gap: .5rem; }
.cr-s1-side .cr-hint { margin: 0; }
.cr-final { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem 1.5rem; align-items: start; margin: .25rem 0 1.1rem; }
.cr-final > * { min-width: 0; margin: 0 !important; }
.cr-agree { display: grid; gap: .75rem; }
@media (max-width: 1023px) { .cr-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .cr-pair, .cr-s1 { grid-template-columns: minmax(0, 1fr); } .cr-s1-side { padding-top: 0; } }
@media (max-width: 640px) { .cr-fields { grid-template-columns: minmax(0, 1fr); } }
