/* Application entry only: keep the site's existing buttons, palette and layout. */
.apply-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
html:root .hero-actions.apply-actions{display:flex;align-items:center;gap:12px 24px}
html[dir=rtl] [data-join] .icon,html[dir=rtl] .content-page [data-join] .icon{transform:none}
html:root .apply-question{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-size:var(--type-small);font-weight:400;line-height:1.6;text-decoration:underline;text-underline-offset:4px}
.apply-question:hover,.apply-open-desktop:hover{text-decoration-thickness:2px}
.apply-browser-hint{max-width:65ch;margin:12px 0 0;color:var(--muted);font-size:var(--type-small);line-height:1.7}
[data-apply-browser-hint][hidden]{display:none}
.apply-card .apply-browser-hint{margin:0}
.apply-qr{display:none;margin:0;text-align:center}
.apply-qr img{display:block;width:144px;height:144px;margin:auto;image-rendering:pixelated}
.apply-qr figcaption{margin-top:8px;color:var(--muted);font-size:var(--type-meta);line-height:1.6}
.apply-card .apply-safety{margin:0;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:var(--type-small);line-height:1.7}
html.apply-desktop .apply-card{grid-template-columns:minmax(0,1fr) 144px;column-gap:24px}
html.apply-desktop .apply-card>.apply-qr{display:block;grid-column:2;grid-row:1 / 3;align-self:start}
html.apply-desktop .apply-card>.contact-promises,html.apply-desktop .apply-card>.contact-earnings{grid-column:1}
html.apply-desktop .apply-card>.apply-actions,html.apply-desktop .apply-card>.apply-browser-hint,html.apply-desktop .apply-card>.apply-safety{grid-column:1 / -1}

body.apply-dialog-open{overflow:hidden}
.apply-dialog{box-sizing:border-box;width:min(480px,calc(100% - 32px));max-height:calc(100vh - 48px);margin:auto;padding:48px 36px 28px;overflow:auto;border:0;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 24px 80px #00000040;text-align:center;font:inherit}
.apply-dialog::backdrop{background:#0009}
.apply-dialog-close{position:absolute;inset-block-start:8px;inset-inline-end:8px;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:var(--control-radius);background:transparent;color:var(--ink);cursor:pointer}
.apply-dialog-close:hover{background:#0000000a}
.apply-dialog-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
html:root .apply-dialog h2{max-width:none;margin:0 0 12px;font-size:1.5rem;font-weight:600;line-height:1.4;letter-spacing:0}
html:root .apply-dialog .apply-dialog-help{margin:0;color:var(--muted);font-size:1rem;line-height:1.7}
.apply-dialog-qr{width:222px;max-width:100%;margin:24px auto 16px}
.apply-dialog-qr img{display:block;width:100%;height:auto;image-rendering:pixelated}
.apply-open-desktop{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:var(--ink);font-size:var(--type-small);font-weight:600;line-height:1.6;text-decoration:underline;text-underline-offset:4px}
html:root .apply-dialog .apply-desktop-note{margin:0;color:var(--muted);font-size:var(--type-meta);line-height:1.7}
.apply-dialog :focus-visible,.apply-question:focus-visible{outline:2px solid var(--ink);outline-offset:4px}

@media(max-width:700px){
  .apply-actions{justify-content:center;gap:4px 16px}
  html:root .hero-actions.apply-actions{justify-content:center;gap:4px 16px}
  .apply-actions>.button{width:100%}
  .apply-actions>.apply-question{flex-basis:100%;justify-content:center;text-align:center}
  .apply-browser-hint{margin-top:8px}
  .apply-card .apply-safety{padding-top:16px}
}
