/* Small integration controls only. Original palette, fonts, cards, logo and animations are unchanged. */
body{margin:0}
.integration-note{background:var(--card);color:var(--ink2);font-size:12px;padding:8px 16px;border-bottom:1px solid var(--line)}
.fld select{width:100%;min-width:0;min-height:48px;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 12px;color:var(--ink)}
.fld input,.fld textarea{min-width:0;max-width:100%}
.region-fields{display:grid;gap:12px;min-width:0}
.region-fields select{max-width:100%}
.integration-error{color:var(--warn);padding:12px 0}
.privacy-body{font-size:13px;color:var(--ink2);line-height:1.8;padding:12px 0}
.privacy-body a{color:var(--accent-text)}
#vm video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#000}
#vm .vbox{background:var(--deep);color:var(--cream);padding:16px;border-radius:16px;max-height:calc(100dvh - 40px);overflow-y:auto}
#vm-title{margin:0 0 12px;color:var(--cream)}
#vm iframe{display:block;width:100%;border:0;min-height:65vh;background:var(--bg)}
.stp .stage-value{font-weight:700;color:var(--ink)}
.contact .row{overflow-wrap:anywhere}
.city-options{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-top:8px}
.city-options[hidden]{display:none!important}
.draft-tools{margin-top:24px;display:grid;gap:10px;border-top:1px solid var(--line);padding-top:16px}
.draft-tools .btn{justify-self:start}
.teaching-fields{border:0;padding:0;min-width:0}
.teaching-fields legend,.field-label{font-weight:600;color:var(--ink)}
.choice-row{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 14px}
.choice{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);font-size:16px}
.choice:has(input:checked){border-color:var(--deep);background:var(--bg2);color:var(--ink)}
/* The original inline .fld input rule loads AFTER this file. Scope these
   native controls more specifically so text-input width/padding cannot win. */
.teaching-fields .choice{flex:0 0 auto;min-width:0;max-width:100%;white-space:nowrap;line-height:1.5;cursor:pointer}
.teaching-fields .choice > input[type="radio"],
.teaching-fields .choice > input[type="checkbox"]{
  display:block;position:static;box-sizing:border-box;flex:0 0 20px;
  width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;
  margin:0;padding:0;border:0;border-radius:0;background:transparent;
  font-size:16px;line-height:1;transform:none;
  -webkit-appearance:auto;appearance:auto;accent-color:var(--accent-text);color-scheme:inherit;
}
.teaching-fields .choice > input:focus-visible{outline:2px solid var(--mid);outline-offset:3px;box-shadow:none}
.teaching-fields .choice:has(input:checked){border-color:var(--accent-text)}
.fld input[type=date]{display:block;appearance:auto;-webkit-appearance:auto;min-height:48px;width:100%;font:inherit;font-size:16px;color:var(--ink);background:var(--card);box-sizing:border-box}
/* Step 3 only: iOS native date fields must not enlarge either grid's auto minimum.
   Keep the native picker and the same 100% border box/padding as the salary field. */
#apply-root .form[data-application-step="3"]{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)}
#apply-root .fld[for="f-holiday_date"],
#apply-root .fld[for="f-available_date"]{width:100%;min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)}
#apply-root input#f-holiday_date[type="date"],
#apply-root input#f-available_date[type="date"]{
  display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;
  inline-size:100%;min-inline-size:0;max-inline-size:100%;min-height:50px;
  margin:0;padding:12px 14px;-webkit-appearance:auto;appearance:auto;
}
#apply-root input#f-holiday_date::-webkit-date-and-time-value,
#apply-root input#f-available_date::-webkit-date-and-time-value{min-width:0;max-width:100%;text-align:left}
#apply-root input#f-holiday_date::-webkit-datetime-edit,
#apply-root input#f-available_date::-webkit-datetime-edit{min-width:0;padding:0}
.fld input,.fld select,.fld textarea{font-size:16px}
.fld select:disabled{opacity:.65}
#sheet{height:100vh;height:100dvh;max-height:100dvh}
.sheet-scroll{min-height:0}
.sheet-cta{flex-shrink:0;gap:10px}
.sheet-cta .btn{min-width:0;min-height:48px;white-space:normal}
.inline-video{width:100%;aspect-ratio:16/9;position:relative;border-radius:16px;overflow:hidden;background:var(--deeper)}
.inline-video video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.inline-video .video-retry{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--card);min-height:44px;max-width:90%}
.inline-video p,.inline-video>button:not(.video-retry){position:absolute;inset-inline:12px;bottom:12px;background:var(--card);color:var(--ink);border-radius:10px;padding:8px}
.inline-video p{bottom:60px}
.inline-video [hidden]{display:none!important}
.progress-journey .st{display:grid;place-items:center;width:20px;height:20px;font:700 13px var(--f-body);background:var(--bg);border-color:var(--ink2);color:var(--cream)}
.progress-journey .st.done{background:var(--mid);border-color:var(--mid)}
.progress-journey .st.current{background:var(--deep);border-color:var(--deep);box-shadow:0 0 0 4px var(--line)}
.progress-journey .st.stopped{background:var(--bg);border-color:var(--warn)}
.progress-journey .dot{pointer-events:none}
@media(max-width:360px){.navrow{gap:8px}.navrow .btn{min-width:0;padding-inline:10px}.sheet-cta{padding-inline:12px}.choice{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.progress-journey *{transition:none!important}}
