

:root {
  color-scheme:dark;--bg:#000000;--panel:#090909;--muted:#aaaab2;--white:#f6f6f7;--line:#242424}

* {
  box-sizing:border-box}
html {
  scroll-behavior:smooth}
body {
  margin:0;background:var(--bg);color:var(--white);font:16px/1.55 Arial,Helvetica,sans-serif}

a {
  color:inherit;text-decoration:none}
button,input,textarea {
  font:inherit}
button,a {
   -webkit-tap-highlight-color:transparent}

header {
  height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;border-bottom:1px solid #29292d;background:#000000;position:sticky;top:0;z-index:5}

.logo {
  width:88px;height:70px;object-fit:contain}
.nav {
  display:flex;align-items:center;gap:clamp(14px,3vw,42px);font-size:14px;color:#d6d6da}
.nav a:hover {
  color:white}
.viewbtn,.primary {
  border:0;background:#29292f;color:white;padding:13px 18px;border-radius:9px;cursor:pointer;font-weight:600}
.viewbtn:hover {
  background:#393940}

main {
  min-height:70vh}
.hero {
  margin:0 auto;width:100%;min-height:430px;border-radius:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:48px 18px;background:#000000;background-size:cover;background-position:center}

.hero-inner {
  width:min(100%,900px)}
h1 {
  font-size:clamp(35px,5vw,68px);line-height:1.13;letter-spacing:-2px;margin:0 auto 38px;font-weight:700}
.search {
  display:flex;width:min(100%,590px);margin:auto;background:#0b0b0d;border:1px solid #35353b;border-radius:9px;overflow:hidden}
.search input {
  min-width:0;flex:1;padding:17px 18px;color:white;background:transparent;border:0;outline:none}
.search button {
  width:54px;border:0;background:transparent;color:#ddd;cursor:pointer;font-size:21px}

.content {
  width:min(100% - 36px,1228px);margin:38px auto 90px}
.hidden {
  display:none!important}
.page-title {
  font-size:clamp(30px,4vw,54px);line-height:1.15;letter-spacing:-1.4px;margin:0 0 16px}
.muted {
  color:var(--muted)}
.results-top {
  position:sticky;top:72px;background:var(--bg);padding:24px 0 18px;z-index:2;border-bottom:1px solid var(--line)}
.results-top .search {
  width:100%;max-width:none}
.result-count {
  margin:24px 0 14px;color:#bdbdc4}
.job-list {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.job {
  border:1px solid #292a31;border-radius:7px;padding:22px;background:#050505;display:flex;justify-content:space-between;gap:18px;align-items:flex-start;min-height:165px;flex-direction:column}
.job h3 {
  margin:0 0 6px;font-size:20px}
.job p {
  margin:0;color:var(--muted);font-size:14px}
.job .primary {
  background:transparent;white-space:nowrap;padding:0;color:#f1f1f3;font-size:14px}
.job:hover {
  border-color:#66666d}
.back {
  display:inline-block;color:#c9c9cf;margin-bottom:30px}
.detail-head {
  text-align:center;padding:45px 0 70px}
.detail-head .meta {
  color:var(--muted);margin:18px 0 30px}
.detail-head .primary {
  background:#365cf5;padding:14px 22px}
.prose {
  color:#d1d1d5;white-space:pre-wrap}
.form-wrap {
  max-width:720px;margin:0 auto}
.form-wrap h2 {
  font-size:30px}
.field {
  margin:20px 0}
.field label {
  display:block;margin-bottom:8px;color:#e3e3e7}
.field input,.field textarea,.field select {
  width:100%;background:#0b0b0b;border:1px solid #292929;border-radius:5px;padding:13px;color:white;outline:none}
.field input:focus,.field textarea:focus {
  border-color:#777}
.field textarea {
  min-height:120px;resize:vertical}
.check-option {
  display:block;margin:9px 0;color:#ddd}
.check-option input {
  width:auto;margin-right:8px}
.form-actions {
  display:flex;justify-content:space-between;gap:12px;margin-top:28px}
.secondary {
  background:#29292f;color:#eee;border:1px solid #414148;padding:12px 18px;border-radius:7px;cursor:pointer}
.notice {
  padding:16px;border:1px solid #3d6048;background:#18251c;border-radius:7px;color:#c9f2d1;margin-top:20px}

@media(max-width:900px) {
  .job-list {
  grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px) {
  .job-list {
  grid-template-columns:1fr}
header {
  padding:0 16px;height:66px}
.logo {
  width:72px}
.nav {
  gap:12px;font-size:12px}
.nav .optional {
  display:none}
.viewbtn {
  padding:10px 12px;font-size:12px}
.hero {
  margin-top:20px;width:calc(100% - 28px);min-height:450px;padding:28px 14px}
h1 {
  letter-spacing:-1px}
.content {
  margin-top:34px}
.results-top {
  top:66px}
.job {
  align-items:flex-start;flex-direction:column}
.job .primary {
  width:100%}
.detail-head {
  padding:24px 0 48px}
}


/* Symmetric interaction motion: hover-in, hover-out, press-in and release-out */
button, a, .job-card, .search-box, input, select, textarea {
  transition: transform .22s ease, opacity .22s ease, background-color .22s ease,
              border-color .22s ease, box-shadow .22s ease, color .22s ease;
}
button:active, a:active { transform: scale(.97); opacity: .82; }
@media (prefers-reduced-motion: reduce) {
  button, a, .job-card, .search-box, input, select, textarea {
    transition: none !important; animation: none !important;
  }
}

/* Keep search input and magnifier visually seamless when focused */
.search-box:focus-within, .search-box:focus-within input,
.search-box input:focus, .search-box input:focus-visible,
.search-box button:focus, .search-box button:focus-visible {
  outline: none !important; box-shadow: none !important;
}
.search-box input { border-right: 0 !important; }
.search-box button { border-left: 0 !important; border-inline-start: 0 !important; }


/* Search input and magnifier must look like one joined control */
.search:focus-within, .search input:focus, .search input:focus-visible,
.search button:focus, .search button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.search input { border-right: 0 !important; }
.search button { border-left: 0 !important; }
.search input:focus { border-right-color: transparent !important; }


/* Button press/release animation */
button, .btn, [role="button"], a.button {
  transition: transform .16s ease, filter .16s ease, background-color .16s ease, box-shadow .16s ease;
}
button:active, .btn:active, [role="button"]:active, a.button:active {
  transform: scale(.97);
  filter: brightness(.88);
}


/* Page transition animations: entering and leaving views */
#homePage, #resultsPage, #detailPage, #applyPage { will-change: opacity, transform; }
.page-enter { animation: nsPageEnter .34s cubic-bezier(.2,.75,.25,1) both; }
.page-exit { animation: nsPageExit .15s ease-in both; pointer-events:none; }
@keyframes nsPageEnter {
  from { opacity:0; transform:translateY(12px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes nsPageExit {
  from { opacity:1; transform:translateY(0); }
  to { opacity:0; transform:translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .page-enter, .page-exit { animation:none!important; }
}





/* Smooth NS careers motion */
:root {
  --motion-fast: 180ms;
  --motion-medium: 320ms;
  --motion-slow: 520ms;
}
html { scroll-behavior: smooth; }
body { animation: nsPageIn 420ms ease both; }
a, button, input, select, textarea, .job-card, .position-card, .category,
[role="button"] {
  transition:
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease,
    opacity var(--motion-fast) ease;
}
button:hover, a[role="button"]:hover, .job-card:hover, .position-card:hover {
  transform: translateY(-2px);
}
button:active, a[role="button"]:active {
  transform: translateY(0) scale(.98);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.14);
}
@keyframes nsPageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes nsRiseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nsSoftIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
main, .main-content, .page-content, #app, #appRoot {
  animation: nsRiseIn 420ms cubic-bezier(.2,.7,.2,1) both;
}
.job-card, .position-card, .application-panel, .form-card {
  animation: nsSoftIn 360ms ease both;
}
.job-card:nth-child(2), .position-card:nth-child(2) { animation-delay: 35ms; }
.job-card:nth-child(3), .position-card:nth-child(3) { animation-delay: 70ms; }
.job-card:nth-child(4), .position-card:nth-child(4) { animation-delay: 105ms; }
.job-card:nth-child(5), .position-card:nth-child(5) { animation-delay: 140ms; }
.job-card:nth-child(6), .position-card:nth-child(6) { animation-delay: 175ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* SVG navigation icons */

.icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: -3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.icon-search { width: 20px; height: 20px; }
.search button { display:flex; align-items:center; justify-content:center; }
.back { display:inline-flex; align-items:center; gap:8px; }
.job .primary { display:inline-flex; align-items:center; gap:8px; }
.form-actions button { display:inline-flex; align-items:center; justify-content:center; gap:8px; }



.field { position:relative; }
.field.invalid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="color"]),
.field.invalid textarea,.field.invalid select,.field.invalid .file-picker,
.field.invalid .signature-pad,.field.invalid .date-picker-trigger { border-color:#f04444!important;box-shadow:0 0 0 1px #f04444!important; }
.field-error { display:flex;align-items:center;gap:7px;color:#ff4b4b;font-size:13px;margin-top:7px; }
.field-error[hidden] { display:none!important; }
.field-error svg { width:15px;height:15px;flex:0 0 15px; }
.file-name { display:block;margin-top:8px;color:#c9c9cf;font-size:13px; }
.file-picker,.date-picker-trigger { width:100%;min-height:48px;padding:12px 14px;text-align:left;color:#f5f5f7;background:#0b0b0b;border:1px solid #292929;border-radius:5px;cursor:pointer; }
.signature-pad { display:block;width:100%;height:180px;border:1px solid #292929;border-radius:5px;background:#080808;touch-action:none; }
.signature-actions { display:flex;gap:10px;margin-top:8px; }
.signature-actions button { padding:8px 12px;border-radius:6px;border:1px solid #444;background:#242428;color:white;cursor:pointer; }
#calendarModal { position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.72);z-index:100; }
#calendarModal.open { display:flex; }
.calendar-panel { width:min(100%,380px);border:1px solid #34343a;border-radius:14px;background:#111113;padding:18px;box-shadow:0 20px 80px #000;animation:nsPageEnter .22s ease both; }
.calendar-head { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px; }
.calendar-head button { background:#242428;color:white;border:1px solid #444;border-radius:7px;padding:7px 11px;cursor:pointer; }
.calendar-month { font-weight:700;text-align:center;flex:1; }
.calendar-weekdays,.calendar-days { display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center; }
.calendar-weekdays { color:#aaaab2;font-size:12px;margin-bottom:7px; }
.calendar-day { min-height:39px;border:0;border-radius:8px;background:transparent;color:#f4f4f6;cursor:pointer; }
.calendar-day:hover { background:#2b2b31; }
.calendar-day.selected { background:#365cf5!important;color:#fff!important; }
.calendar-actions { display:flex;justify-content:flex-end;gap:10px;margin-top:16px; }
.calendar-actions button { padding:11px 16px;border-radius:8px;cursor:pointer; }
.calendar-cancel { background:#242428;color:white;border:1px solid #444; }
.calendar-confirm { background:#365cf5;color:white;border:0; }
.icon { width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto; }


/* Custom file picker, country search and phone-code menus */
.ns-file-input {
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
.ns-file-picker {
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;
  padding:12px 15px;border:1px solid #34343a;border-radius:5px;background:#202024;color:#fff;
  cursor:pointer;font-size:14px;font-weight:600;transition:background .18s,border-color .18s,transform .18s;
}
.ns-file-picker:hover { background:#2a2a30;border-color:#56565f; }
.ns-file-picker:active { transform:scale(.99); }
.ns-file-picker svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.field.invalid .ns-file-picker { border-color:#f04444!important;box-shadow:0 0 0 1px #f04444!important; }
.ns-country-control,.ns-phone-control { position:relative;width:100%; }
.ns-country-control input,.ns-phone-control input { min-width:0; }
.ns-country-menu,.ns-phone-menu {
  display:none;position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:80;max-height:300px;
  overflow:auto;background:#111113;border:1px solid #34343a;border-radius:8px;
  box-shadow:0 16px 45px rgba(0,0,0,.65);padding:5px;
}
.ns-country-menu.open,.ns-phone-menu.open { display:block; }
.ns-country-option,.ns-phone-option {
  width:100%;display:flex;align-items:center;text-align:left;gap:10px;padding:10px 11px;
  min-height:40px;border:0;border-radius:5px;background:transparent;color:#f5f5f7;
  cursor:pointer;font:inherit;font-size:14px;
}
.ns-country-option:hover,.ns-phone-option:hover,.ns-country-option:focus-visible,.ns-phone-option:focus-visible {
  background:#29292f;outline:none;
}
.ns-menu-empty { color:#a7a7b0;padding:14px;font-size:13px; }
.ns-phone-control { display:flex;align-items:stretch;gap:0;border:1px solid #292929;border-radius:5px;background:#0b0b0b; }
.ns-phone-control:focus-within { border-color:#777; }
.ns-phone-control .ns-phone-current-flag { display:flex;align-items:center;padding:0 9px 0 12px;font-size:21px; }
.ns-phone-control .ns-phone-dial-button {
  display:flex;align-items:center;gap:6px;padding:0 9px;height:46px;border:0;border-right:1px solid #34343a;
  border-radius:0;background:transparent;color:#f5f5f7;cursor:pointer;white-space:nowrap;
}
.ns-phone-dial-button svg { width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.ns-phone-control input[type="tel"] { flex:1;width:100%;height:46px;border:0!important;box-shadow:none!important;background:transparent!important; }
.ns-phone-search { width:100%;margin-bottom:5px;padding:10px!important;border:1px solid #34343a!important;background:#080809!important;border-radius:5px!important; }
.ns-phone-options { overflow:visible; }
.ns-phone-option { gap:9px; }
.ns-country-flag { width:25px;flex:0 0 25px;font-size:19px;line-height:1; }
.ns-phone-country { flex:1; }
.ns-dial-code { color:#c4c4cc;white-space:nowrap;font-variant-numeric:tabular-nums; }
.field.invalid .ns-country-control>input { border-color:#f04444!important;box-shadow:0 0 0 1px #f04444!important; }
.field.invalid .ns-phone-control { border-color:#f04444!important;box-shadow:0 0 0 1px #f04444!important; }
.field-error svg { width:17px;height:17px;flex:0 0 17px; }
@media(max-width:520px) {
  .ns-country-menu,.ns-phone-menu { max-height: min(48vh,330px); }
  .ns-phone-control .ns-phone-current-flag { padding-left:9px;padding-right:7px; }
  .ns-phone-control .ns-phone-dial-button { padding:0 7px; }
}


/* Styled upload control */
.visually-hidden-file { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.file-picker { display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;padding:13px 16px;background:#18181b;color:#f5f5f7;border:1px solid #45454c;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;transition:background .18s,border-color .18s,transform .18s; }
.file-picker:hover { background:#242429;border-color:#777780; }
.file-picker:active { transform:scale(.99); }
.file-picker svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.field.invalid .file-picker { border-color:#f04444!important;box-shadow:0 0 0 1px #f04444!important; }

/* Custom, site-rendered country selector */
.country-control { position:relative;width:100%; }
.country-search-input { width:100%; }
.custom-country-menu,.custom-phone-menu { position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:80;max-height:270px;overflow:auto;background:#111113;border:1px solid #3b3b42;border-radius:8px;box-shadow:0 16px 45px rgba(0,0,0,.65);padding:5px; }
.custom-country-menu[hidden],.custom-phone-menu[hidden] { display:none!important; }
.country-option { display:block;width:100%;padding:11px 12px;text-align:left;border:0;border-radius:5px;background:transparent;color:#f5f5f7;cursor:pointer;font:inherit; }
.country-option:hover,.country-option:focus-visible,.phone-option:hover,.phone-option:focus-visible { background:#29292f;outline:none; }
.country-no-results { padding:12px;color:#a5a5ad;font-size:13px; }
.phone-control { position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:8px; }
.phone-country-trigger { display:flex;align-items:center;gap:8px;min-width:112px;padding:0 10px;background:#0b0b0b;border:1px solid #292929;border-radius:5px;color:#f5f5f7;cursor:pointer; }
.phone-country-trigger .phone-flag { font-size:20px;line-height:1; }
.phone-country-trigger .phone-dial { font-size:14px;white-space:nowrap; }
.phone-country-trigger svg { width:11px;height:8px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-left:auto; }
.phone-control>input[type="tel"] { min-width:0;width:100%; }
.custom-phone-menu { top:calc(100% + 6px);right:auto;width:min(100%,360px);max-height:310px; }
.phone-menu-search { position:sticky;top:0;z-index:1;width:100%;margin-bottom:5px;padding:10px;background:#1b1b1f;color:#fff;border:1px solid #44444b;border-radius:5px; }
.phone-menu-list { max-height:230px;overflow:auto; }
.phone-option { display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;padding:9px 8px;background:transparent;border:0;border-radius:5px;color:#f5f5f7;text-align:left;cursor:pointer;font:inherit; }
.phone-option-flag { font-size:19px; }
.phone-option-name { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px; }
.phone-option-dial { color:#b7b7c0;font-size:13px; }
.field.invalid .country-search-input,.field.invalid .phone-control>input[type="tel"] { border-color:#f04444!important;box-shadow:0 0 0 1px #f04444!important; }
@media(max-width:480px){.phone-control{gap:6px}.phone-country-trigger{min-width:104px;padding:0 8px}.custom-phone-menu{width:min(88vw,360px)}}

/* Final polish: centered upload button and no browser-blue focus trace */
.file-picker {display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:10px;text-align:center;box-sizing:border-box;line-height:1.25;min-height:52px;padding:12px 18px;}
.file-picker span {display:inline-block;line-height:1.25;white-space:normal;text-align:center;}
.file-picker svg {display:block;flex:0 0 19px;width:19px;height:19px;margin:0;}
.file-picker:focus,.file-picker:focus-visible,.visually-hidden-file:focus + .file-picker,.visually-hidden-file:focus-visible + .file-picker {outline:none!important;box-shadow:none!important;}
.phone-flag,.phone-option-flag {display:block;object-fit:contain;width:24px;height:18px;flex:0 0 24px;border-radius:2px;background:transparent;}
.phone-country-trigger {outline:none!important;}
.phone-country-trigger:focus,.phone-country-trigger:focus-visible {outline:none!important;box-shadow:none!important;}
.phone-control {grid-template-columns:auto minmax(0,1fr);gap:0;}
.phone-country-trigger {border-radius:5px 0 0 5px;border-right:0;}
.phone-control>input[type=tel] {border-radius:0 5px 5px 0!important;}

.file-picker,.file-picker * { -webkit-tap-highlight-color:transparent; }
.file-picker:active,.file-picker:focus,.file-picker:focus-visible {outline:0!important;box-shadow:none!important;}

/* Application description markdown, salary and separators */
.description-divider{border:0;border-top:1px solid #333;margin:26px 0;}
.description-section{line-height:1.75;}
.description-section a{color:#fff;text-decoration:underline;text-underline-offset:3px;}
.salary-block{border-top:1px solid #333;margin-top:24px;padding-top:24px;display:flex;flex-direction:column;gap:3px;}
.salary-block span{font-size:16px;color:#c7c7cb;}
.salary-block strong{font-size:30px;line-height:1.2;}
.file-picker.file-selected{opacity:.45;cursor:not-allowed;pointer-events:none;}
.phone-flag,.phone-option-flag{border-radius:5px;overflow:hidden;}
.field-error .warning-icon,.field-error svg{width:14px!important;height:14px!important;flex:0 0 14px!important;vertical-align:middle;}
#exitModal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,0);opacity:0;}
#exitModal.open{display:flex;animation:exitBackdropIn .22s ease forwards;background:rgba(0,0,0,.72);}
#exitModal.closing{display:flex;animation:exitBackdropOut .18s ease forwards;pointer-events:none;}
.exit-panel{width:min(360px,100%);background:#171719;border:1px solid #343438;border-radius:10px;padding:20px;box-shadow:0 18px 60px #0008;transform:translateY(10px) scale(.98);opacity:0;}
#exitModal.open .exit-panel{animation:exitPanelIn .26s cubic-bezier(.2,.75,.25,1) forwards;}
#exitModal.closing .exit-panel{animation:exitPanelOut .16s ease forwards;}
@keyframes exitBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes exitBackdropOut{from{opacity:1}to{opacity:0}}
@keyframes exitPanelIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes exitPanelOut{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(6px) scale(.985)}}
.exit-panel h3{font-size:18px;margin:0 0 8px;}
.exit-panel p{font-size:13px;color:#c6c6ca;line-height:1.5;margin:0 0 18px;}
.exit-actions{display:flex;justify-content:flex-end;gap:8px;}
.exit-actions button{border:0;border-radius:5px;padding:9px 14px;font-weight:600;cursor:pointer;}
#exitContinue{background:#365cf5;color:white;}#exitLeave{background:#303034;color:white;border:1px solid #48484e;}

/* Responsive layout for phones and tablets */
@media (max-width: 760px) {
  header {height:auto;min-height:64px;padding:10px 14px;gap:10px;flex-wrap:wrap;}
  .logo {width:70px;height:48px;}
  .nav {order:3;width:100%;gap:0;justify-content:space-between;overflow-x:auto;white-space:nowrap;font-size:12px;padding:4px 0 2px;}
  .nav a {padding:5px 8px;flex:0 0 auto;}
  .viewbtn {margin-left:auto;padding:10px 12px;font-size:13px;}
  .hero {min-height:330px;padding:38px 16px;}
  h1 {font-size:clamp(30px,8vw,44px);letter-spacing:-1px;margin-bottom:26px;}
  .search input {padding:13px 12px;font-size:14px;}
  .content {width:calc(100% - 28px);margin:24px auto 55px;}
  .results-top {top:0;padding:14px 0;}
  .job-list {grid-template-columns:1fr;gap:10px;}
  .job {min-height:0;padding:17px;gap:15px;}
  .job .primary {align-self:flex-start;}
  .detail-head {padding:28px 0 38px;}
  .detail-head .meta {line-height:1.7;}
  .form-wrap h2 {font-size:25px;}
  .field {margin:17px 0;}
  .field input,.field textarea,.field select {font-size:16px;min-height:46px;}
  .signature-pad {height:160px;touch-action:none;user-select:none;-webkit-user-select:none;}
  .form-actions {position:sticky;bottom:0;background:rgba(0,0,0,.96);padding:12px 0 calc(12px + env(safe-area-inset-bottom));z-index:4;}
  .exit-panel {width:min(330px,100%);padding:17px;}
  .description-divider {margin:20px 0;}
  .salary-block {margin-top:18px;padding-top:18px;}
  .salary-block strong {font-size:26px;}
}
@media (max-width: 390px) {
  .nav {font-size:11px;}
  .nav a {padding-inline:5px;}
  .viewbtn {padding:9px 10px;font-size:12px;}
  .exit-actions button {padding:9px 11px;}
}

/* Final consistency for every flag and touch signature surface */
.phone-flag,.phone-option-flag{border-radius:6px!important;clip-path:inset(0 round 6px);overflow:hidden;}
.signature-pad{display:block;touch-action:none!important;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:crosshair;}

/* Clean rounded flag crops: preserve the entire flag, with consistently rounded corners. */
.phone-flag,.phone-option-flag{display:block!important;object-fit:cover!important;border-radius:4px!important;clip-path:inset(0 round 4px)!important;overflow:hidden!important;transform:translateZ(0);}
.signature-pad{touch-action:none!important;cursor:crosshair;image-rendering:auto;}
.calendar-days{animation:calendarDaysIn .16s ease both;}
@keyframes calendarDaysIn{from{opacity:0;transform:translateX(5px)}to{opacity:1;transform:translateX(0)}}

/* File upload validation feedback */
.file-name.file-error{color:#ff4b4b!important;font-weight:600;}
.field.invalid .file-name.file-error{color:#ff4b4b!important;}
