/* careers.hydeaviation.com. DataLink's own tokens.css and datalink.css load unchanged; everything the public site needs on top is here, on --dl-* tokens.
   Phone first (375 px must never scroll sideways), fine at 1280. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { font-size: 16px; height: auto; min-height: 100%; display: flex; flex-direction: column; overflow-x: hidden; }   /* datalink.css fixes body at 100%: a fixed flex column would lay the footer over a long page */
#view { flex: 1; min-width: 0; }
img, video, canvas { max-width: 100%; }
.vh { position: absolute !important; left: 0; top: 0; width: 1px !important; min-height: 0 !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shell */
#nav { gap: 16px; padding: 0 16px; }
#nav .brand span { display: inline !important; }
#tabs { justify-content: flex-start; }
#acct { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: none; }
#acct .who { font-size: 14px; color: var(--dl-muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { #acct .who { display: none; } }
#foot { border-top: 1px solid var(--dl-line); color: var(--dl-muted); font-size: 14px; }
#foot .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 22px 16px 32px; }
#foot a { color: var(--dl-accent-text); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 28px 16px 72px; }
.wrap.narrow { max-width: 760px; }
@media (min-width: 700px) { .wrap { padding: 40px 28px 90px; } }
.lead { font-size: 14px; }
.title { font-size: 30px; }
@media (min-width: 700px) { .title { font-size: 38px; } }
.sub { font-size: 17px; color: var(--dl-ink-2); max-width: 62ch; }
.prose { white-space: pre-wrap; line-height: 1.6; color: var(--dl-ink); }
.prose p { margin: 0 0 12px; }
h2.sec { font: 600 20px/1.25 var(--font-ui); letter-spacing: -.01em; margin: 28px 0 10px; }
h2.sec:first-child { margin-top: 0; }
h3 { font: 600 17px/1.3 var(--font-ui); margin: 0 0 8px; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { padding: 8px 0; border-bottom: 1px solid var(--dl-line); }
ul.plain li:last-child { border-bottom: 0; }
ul.reqs { margin: 0; padding-left: 20px; }
ul.reqs li { margin: 6px 0; }

/* ---------- buttons, tags, panels (DataLink's components.css is not served on this host; these mirror it) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-2, 8px); border: 1px solid var(--dl-line-2); background: var(--dl-surface); color: var(--dl-ink); font: 600 15px/1.2 var(--font-ui); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background var(--v3-t-fast), border-color var(--v3-t-fast); }
.btn:hover { background: var(--dl-hover); }
.btn:focus-visible { outline: var(--v3-ring); outline-offset: var(--v3-ring-offset); }
.btn.primary { background: var(--dl-accent); border-color: var(--dl-accent); color: var(--dl-on-accent); }
.btn.primary:hover { background: var(--dl-accent-hover); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--dl-accent-text); }
.btn.ghost:hover { background: var(--dl-accent-soft); }
.btn.danger { color: var(--dl-bad); }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.btn:disabled:hover { background: var(--dl-surface); }
.btn.primary:disabled:hover { background: var(--dl-accent); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.actions.split { justify-content: space-between; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-1, 6px); font: 600 12.5px/1 var(--font-ui); background: var(--dl-surface-2); color: var(--dl-ink-2); border: 1px solid var(--dl-line); white-space: nowrap; }
.tag.ok { background: var(--dl-ok-bg); color: var(--dl-ok); border-color: transparent; }
.tag.watch { background: var(--dl-warn-bg); color: var(--dl-warn); border-color: transparent; }
.tag.bad { background: var(--dl-bad-bg); color: var(--dl-bad); border-color: transparent; }
.tag.blue { background: var(--dl-accent-soft); color: var(--dl-accent-text); border-color: transparent; }
.panel { background: var(--dl-surface); border: 1px solid var(--dl-line); border-radius: var(--r-3, 12px); padding: 20px 18px; margin: 0 0 16px; overflow: visible; }
@media (min-width: 700px) { .panel { padding: 24px; } }
.panel > h3 { margin: 0 0 6px; }
.panel .head { color: var(--dl-muted); font-size: 14px; margin: 0 0 14px; }
.empty { padding: 32px 16px; text-align: center; color: var(--dl-muted); }
.note { font-size: 13.5px; color: var(--dl-muted); margin: 10px 0 0; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translateX(-50%); background: var(--dl-inverse); color: var(--dl-on-inverse); padding: 12px 16px; border-radius: 8px; font: 500 14px/1.4 var(--font-ui); box-shadow: var(--dl-shadow-lg); z-index: var(--z-toast); max-width: min(92vw, 520px); }
.toast.err { background: var(--dl-bad); color: var(--dl-on-bad); }
.status-line { border-radius: var(--r-3, 12px); margin: 0 0 16px; }
.status-line.ok { background: var(--dl-ok-bg); } .status-line.watch { background: var(--dl-warn-bg); } .status-line.bad { background: var(--dl-bad-bg); }
.status-line b { display: block; margin-bottom: 2px; }
.skel { height: 16px; }
.modal.ask .box { max-width: 460px; width: min(460px, 92vw); border: 1px solid var(--dl-line); }
.modal h3 { font-size: 20px; }
.modal textarea { width: 100%; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--dl-accent-text); font-weight: 600; font-size: 14px; }

/* ---------- jobs list */
.jobs { display: grid; gap: 16px; }
.job { display: block; background: var(--dl-surface); border: 1px solid var(--dl-line); border-radius: var(--r-3, 12px); padding: 22px 18px; transition: border-color var(--v3-t-fast); }
.job:hover { border-color: var(--dl-accent-line); }
.job h2 { font: 600 24px/1.2 var(--font-ui); letter-spacing: -.01em; margin: 0 0 8px; }
.job p { margin: 0 0 14px; color: var(--dl-ink-2); max-width: 62ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--dl-muted); }
.facts b { color: var(--dl-ink); font-weight: 600; }
.facts span { display: inline-flex; flex-direction: column; min-width: 0; }
@media (min-width: 700px) { .job { padding: 30px; } .job h2 { font-size: 28px; } }

/* ---------- job page */
.jobgrid { display: grid; gap: 22px; }
@media (min-width: 900px) { .jobgrid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } .jobgrid .side { position: sticky; top: calc(var(--nav-h) + 16px); } }
.before { border: 2px solid var(--dl-accent); border-radius: var(--r-3, 12px); padding: 20px 18px; margin: 26px 0; background: var(--dl-surface); }
.before h3 { font-size: 18px; margin: 0 0 10px; color: var(--dl-accent-text); }
.before .prose { font-size: 16px; }
@media (min-width: 700px) { .before { padding: 26px 28px; } }
.kv { grid-template-columns: 110px 1fr; font-size: 15px; }
.kv dt { font-size: 13px; }

/* ---------- forms */
.form { grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .form.two { grid-template-columns: 1fr 1fr; } }
.form label, .field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--dl-ink-2); font-weight: 500; }
.form input, .form select, .form textarea, .field input, .field textarea, .field select { width: 100%; min-height: 46px; border: 1px solid var(--dl-control); border-radius: var(--r-1, 6px); padding: 10px 12px; font-size: 16px; color: var(--dl-ink); background: var(--dl-surface); outline: none; }
.form textarea, .field textarea { min-height: 150px; line-height: 1.5; resize: vertical; }
.form input:focus, .form textarea:focus, .field input:focus, .field textarea:focus, .form select:focus { border-color: var(--dl-accent); box-shadow: var(--v3-focus); }
.field.bad input, .field.bad textarea, .drop.bad { border-color: var(--dl-bad); }
.ferr { font-size: 14px; color: var(--dl-bad); margin: 0; font-weight: 500; min-height: 0; }
.ferr:empty { display: none; }
.hint { font-size: 13px; color: var(--dl-muted); font-weight: 400; }
.count { font-size: 13px; color: var(--dl-muted); display: flex; justify-content: space-between; gap: 10px; font-weight: 400; }
.count.ok { color: var(--dl-ok); }
.count.bad { color: var(--dl-bad); }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--dl-accent); flex: none; }
.chk { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 15px; color: var(--dl-ink); cursor: pointer; }
.chk input { margin-top: 1px; }

/* ---------- apply: steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 22px; }
.steps .s { height: 6px; border-radius: 6px; background: var(--dl-line); }
.steps .s.done { background: var(--dl-ok); }
.steps .s.now { background: var(--dl-accent); }
.stepname { font-size: 14px; color: var(--dl-muted); margin: 0 0 4px; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; padding: 18px; border: 2px dashed var(--dl-control); border-radius: var(--r-3, 12px); background: var(--dl-surface-2); text-align: center; cursor: pointer; transition: border-color var(--v3-t-fast), background var(--v3-t-fast); }
.drop.over { border-color: var(--dl-accent); background: var(--dl-accent-soft); }
.drop.has { border-style: solid; border-color: var(--dl-ok); background: var(--dl-ok-bg); }
.drop b { font-size: 15px; color: var(--dl-ink); word-break: break-word; }
.drop small { color: var(--dl-muted); font-size: 13px; }
.drop input { display: none; }
.drop .btn { pointer-events: none; }
.drop.has .btn { pointer-events: auto; }

/* ---------- apply: video */
.vtabs { display: flex; gap: 6px; margin: 0 0 14px; }
.vtabs button { flex: 1; min-height: 46px; border-radius: var(--r-2, 8px); border: 1px solid var(--dl-line-2); background: var(--dl-surface); font: 600 15px var(--font-ui); color: var(--dl-ink-2); cursor: pointer; }
.vtabs button.on { background: var(--dl-accent-soft); color: var(--dl-accent-text); border-color: var(--dl-accent-line); }
.stage { position: relative; background: var(--v3-graphite, #23272E); border-radius: var(--r-3, 12px); overflow: hidden; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.stage .off { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; opacity: .85; padding: 20px; text-align: center; font-size: 15px; background: var(--v3-graphite, #23272E); z-index: 1; }
.timer { position: absolute; top: 10px; left: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .6); color: #fff; font: 600 18px/1 var(--v3-font-mono); font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: center; }
.timer::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #E04343; animation: blink 1s infinite; }
.timer.ok { background: var(--dl-ok); }
.timer.ok::before { background: #fff; animation: none; }
@keyframes blink { 50% { opacity: .25; } }
.vmeta { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 10px; font-size: 14px; color: var(--dl-muted); flex-wrap: wrap; }
.vmeta b { color: var(--dl-ink); }
.vok { color: var(--dl-ok); font-weight: 600; }

/* ---------- apply: review + progress */
.review dt { color: var(--dl-muted); font-size: 13px; margin-top: 12px; }
.review dd { margin: 2px 0 0; white-space: pre-wrap; word-break: break-word; }
.prog { height: 10px; border-radius: 10px; background: var(--dl-line); overflow: hidden; margin: 14px 0 6px; }
.prog > i { display: block; height: 100%; width: 0; background: var(--dl-accent); transition: width .2s linear; }
.progtxt { font-size: 14px; color: var(--dl-muted); }

/* ---------- sign in */
.auth { max-width: 440px; margin: 0 auto; }
.auth .code { font-size: 24px; letter-spacing: .3em; text-align: center; font-family: var(--v3-font-mono); }
.err-line { min-height: 20px; color: var(--dl-muted); font-size: 14px; margin: 8px 0 0; }
.err-line.bad { color: var(--dl-bad); font-weight: 500; }

/* ---------- status page */
.app { margin-bottom: 22px; }
.app .top { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.app .top h2 { font: 600 22px/1.2 var(--font-ui); margin: 0; }
.headline { font: 600 18px/1.35 var(--font-ui); margin: 10px 0 4px; }
.todo { color: var(--dl-ink-2); margin: 0 0 6px; font-size: 16px; }
.rounds { display: grid; gap: 10px; margin-top: 8px; }
.round { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--dl-line); border-radius: var(--r-3, 12px); background: var(--dl-surface-2); }
.round .r1 { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.round .r1 b { font-size: 16px; }
.round .meta { color: var(--dl-muted); font-size: 14px; }
.round .meta .num { color: var(--dl-ink); font-weight: 600; }
.tl { border-left: 2px solid var(--dl-line); padding-left: 16px; margin: 6px 0 0 4px; }
.tl .e { padding: 0 0 12px; position: relative; font-size: 15px; }
.tl .e::before { content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--dl-surface); border: 2px solid var(--dl-accent); }
.tl .e .when { color: var(--dl-muted); font-size: 13px; }
details.letter { margin: 10px 0; }
details.letter summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; color: var(--dl-accent-text); }
details.letter .prose { padding: 10px 0; border-top: 1px solid var(--dl-line); font-size: 15px; }
.tasks { display: grid; gap: 10px; margin-top: 10px; }
.task { border: 1px solid var(--dl-line); border-radius: var(--r-3, 12px); background: var(--dl-surface); }
.task > summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 14px; cursor: pointer; min-height: 56px; }
.task > summary::-webkit-details-marker { display: none; }
.task .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--dl-line-2); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.task.done .dot { background: var(--dl-ok); border-color: var(--dl-ok); }
.task .tt { flex: 1; font-weight: 600; font-size: 16px; }
.task .body { padding: 0 14px 16px; border-top: 1px solid var(--dl-line); }
.task .body .help { color: var(--dl-ink-2); margin: 12px 0; white-space: pre-wrap; font-size: 15px; }
.bar2 { height: 8px; border-radius: 8px; background: var(--dl-line); overflow: hidden; margin: 8px 0 4px; }
.bar2 > i { display: block; height: 100%; background: var(--dl-ok); }
.days { display: grid; gap: 8px; }
.day { display: grid; grid-template-columns: 56px 1fr 80px; gap: 8px; align-items: center; }
.day input { min-height: 44px; }
.total { font-weight: 600; margin-top: 8px; }
.total.bad { color: var(--dl-bad); }
.total.ok { color: var(--dl-ok); }

/* ---------- DataLink Sign (ported from the client portal) */
.sg-wrap { padding-bottom: 15rem; }
@media (min-width: 900px) { .sg-wrap { padding-bottom: 20rem; } }
.how { padding-left: 1.3rem; margin: 0; } .how li { margin: .45rem 0; }
.sg-who { display: inline-block; margin-right: 1em; }
.sg-pages { display: grid; gap: 2.6rem; margin: 18px 0; }
.sg-page { position: relative; margin: 0; background: var(--dl-surface); border: 1px solid var(--dl-line-2); border-radius: 6px; container-type: inline-size; }
.sg-page img { display: block; width: 100%; height: 100%; border-radius: 6px; }
.sg-pn { position: absolute; left: 0; right: 0; bottom: -1.9rem; text-align: center; font-size: 13px; color: var(--dl-muted); }
.sg-f { position: absolute; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 2px solid var(--dl-accent-line); border-radius: 6px; background: var(--dl-accent-soft); color: var(--dl-ink); line-height: 1; font-family: var(--font-ui); }
.sg-f.auto { background: var(--dl-surface-2); border-color: var(--dl-line-2); color: var(--dl-muted); }
.sg-f.auto .sg-v { padding: 0 .4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 640px) { .sg-f.auto .sg-tab { display: none; } }
.sg-tab { position: absolute; left: -2px; bottom: 100%; margin-bottom: 3px; padding: 2px 8px; border-radius: 6px 6px 6px 0; background: var(--dl-accent); color: var(--dl-on-accent); font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; line-height: 1.5; min-height: 24px; display: inline-flex; align-items: center; }
.sg-f.auto .sg-tab { background: var(--dl-ink-2); bottom: auto; top: 100%; margin: 3px 0 0; border-radius: 0 6px 6px 6px; }
.sg-f.sig { cursor: pointer; }
.sg-f.sig::before { content: ""; position: absolute; inset: -14px; }
.sg-f.sig.need { animation: pulse 1.8s var(--v3-ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--dl-accent-line); } 50% { box-shadow: 0 0 0 6px transparent; } }
.sg-f.sig .sg-prev { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 2px 4px; }
.sg-f.sig .sg-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sg-f.sig .sg-prev.typed { font: italic 400 1em var(--v3-font-sig); color: var(--dl-ink); white-space: nowrap; overflow: hidden; }
.sg-f.sig:not(.need) { background: var(--dl-surface); border-color: var(--dl-ok); }
.sg-f.sig:not(.need) .sg-tab { background: var(--dl-ok); }
.sg-f.txtw { background: var(--dl-surface); }
.sg-f.txtw .sg-txt { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; background: transparent; padding: 0 .4em; font-size: inherit; font-family: var(--font-ui); outline: none; }
.sg-f.chk { background: var(--dl-surface); padding: 0; }
.sg-f.chk input { width: 70%; height: 70%; min-width: 24px; min-height: 24px; }
.sg-f.need:not(.sig) { border-color: var(--watch); }
.sg-f.need:not(.sig) .sg-tab { background: var(--dl-warn); }
.sg-f.flash { animation: flash .9s var(--v3-ease) 2; }
@keyframes flash { 50% { box-shadow: 0 0 0 8px var(--dl-accent-line); } }
.sg-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-drawer); background: var(--dl-surface); border-top: 1px solid var(--dl-line-2); box-shadow: var(--dl-shadow-lg); display: flex; flex-direction: column; }
.sg-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; max-width: 1040px; width: 100%; margin: 0 auto; }
.sg-prog { font-size: 14px; font-weight: 600; color: var(--dl-ink-2); }
.sg-prog .num { color: var(--dl-ink); font-size: 1.1em; }
.sg-barbtns { display: flex; gap: 8px; }
.sg-barbtns .btn { min-height: 44px; padding: 0 14px; }
.sg-body { display: none; padding: 4px 16px 16px; max-width: 1040px; width: 100%; margin: 0 auto; }
.sg-panel.open { top: 0; bottom: 0; overflow-y: auto; }
.sg-panel.open .sg-body { display: block; }
.sg-panel.open .sg-openbtn { display: none; }
.sg-panel:not(.open) .sg-closebtn { display: none; }
@media (min-width: 900px) { .sg-body { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 10px 24px; align-items: end; } .sg-openbtn, .sg-closebtn { display: none !important; } .sg-tabs { grid-column: 1; } .sg-draw, .sg-type { grid-column: 1; } .sg-finish { grid-column: 2; grid-row: 1 / span 2; align-self: end; } }
.sg-tabs { display: flex; gap: 6px; margin: 6px 0 10px; }
.sg-tabs [role=tab] { min-height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--dl-line-2); background: var(--dl-surface); font-size: 14px; font-weight: 600; color: var(--dl-ink-2); cursor: pointer; }
.sg-tabs [role=tab].on { background: var(--dl-accent-soft); color: var(--dl-accent-text); border-color: var(--dl-accent-line); }
@media (max-width: 640px) { .sg-tabs { flex-direction: column; } .sg-tabs [role=tab] { width: 100%; } }
.sg-draw { position: relative; height: 9rem; max-height: 26vh; border: 2px dashed var(--dl-accent-line); border-radius: 12px; background: var(--dl-surface-2); touch-action: none; }
.sg-panel.open .sg-draw { height: 15rem; max-height: 45vh; }
.sg-draw canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; border-radius: 12px; }
.sg-hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: var(--dl-muted); font-size: 15px; pointer-events: none; }
.sg-line { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 2.4rem; height: 1px; background: var(--dl-line-2); pointer-events: none; }
.sg-clear { position: absolute; right: 6px; bottom: 6px; min-height: 44px; }
.sg-type input { width: 100%; max-width: 30rem; min-height: 46px; border: 1px solid var(--dl-control); border-radius: 6px; padding: 10px 12px; font-size: 16px; }
.sg-typed { margin-top: 10px; min-height: 3.2rem; padding: .3rem .6rem; font: italic 400 2.2rem/1.3 var(--v3-font-sig); color: var(--dl-ink); border-bottom: 1px solid var(--dl-line-2); max-width: 30rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.sg-finish { margin-top: 12px; width: 100%; }
.fl { display: block; font-size: 14px; font-weight: 500; color: var(--dl-ink-2); margin-bottom: 6px; }
