/* On Cue Hire — public Jobs page */
:root { --brand: #f58220; --brand-600: #e06f0e; --brand-50: #fff5ec; --ink: #1f2933; --text: #364152; --muted: #6b7280; --line: #e7e5e0; --bg: #ffffff; --soft: #faf8f5; }
* { box-sizing: border-box; }
html, body { margin: 0; background: transparent; }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-600); text-decoration: none; } a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); background: var(--soft); border-radius: 12px; }

.portal { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding: 4px; }
.side { position: sticky; top: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.search input { width: 100%; padding: 10px 12px; border: 1px solid #d9d6cf; border-radius: 9px; font: inherit; background: #fff; outline: none; }
.search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.fg { margin-top: 18px; } .fg-t { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 8px; }
.fc { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 3px 0; cursor: pointer; color: var(--text); }
.fc input { accent-color: var(--brand); width: 16px; height: 16px; } .fc span { color: var(--muted); }
.general { display: block; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.general b { color: var(--brand-600); }

.results h2 { font-size: 24px; color: var(--ink); margin: 0 0 16px; letter-spacing: -0.01em; } .results h2 span { color: var(--muted); font-weight: 500; }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { text-decoration: none; border-color: #f7c08f; box-shadow: 0 6px 20px rgba(31,41,51,.07); transform: translateY(-1px); }
.card-top { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.title { font-size: 18px; font-weight: 700; color: var(--ink); }
.card:hover .title { color: var(--brand-600); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; font-weight: 500; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--text); white-space: nowrap; }
.cat { font-size: 13px; font-weight: 600; color: var(--brand-600); margin-top: 8px; }
.card p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }

.detail { padding: 4px; max-width: 980px; }
.back { display: inline-block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.detail h1 { font-size: 30px; line-height: 1.2; color: var(--ink); margin: 0 0 12px; letter-spacing: -0.02em; }
.layout { display: grid; grid-template-columns: 1fr 230px; gap: 30px; margin-top: 22px; align-items: start; }
.layout aside { position: sticky; top: 12px; }
.desc h3 { font-size: 16px; color: var(--ink); margin: 22px 0 6px; } .desc p { margin: 0 0 12px; } .desc ul { margin: 0 0 14px; padding-left: 20px; } .desc li { margin: 4px 0; }
.share { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--brand-600); text-decoration: none; } .btn:disabled { opacity: .6; cursor: default; } .btn.wide { width: 100%; }

.apply { margin-top: 34px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.apply h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.apply label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-top: 14px; }
.apply input, .apply textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d9d6cf; border-radius: 9px; font: inherit; font-weight: 400; background: #fff; outline: none; }
.apply input:focus, .apply textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.apply input[type=file] { padding: 9px; background: #fff; }
.apply .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.apply .fine { font-size: 12.5px; color: var(--muted); margin: 14px 0; }
.apply .btn { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { background: #fdeeec; color: #a1271b; border: 1px solid #f6c9c3; border-radius: 9px; padding: 10px 12px; margin: 10px 0; font-size: 14px; }
.thanks { margin-top: 34px; background: #e9f8f0; border: 1px solid #bfe9d2; border-radius: 16px; padding: 24px; color: #0b5e35; }
.thanks h3 { margin: 0 0 6px; color: #0b5e35; }

@media (max-width: 760px) {
  .portal, .layout { grid-template-columns: 1fr; }
  .side, .layout aside { position: static; }
  .apply .two { grid-template-columns: 1fr; }
  .detail h1 { font-size: 24px; }
}
