/* The Aviation Point · jobs platform and AOG network (build/jobs_platform.py). The hero, lanes, flows and FAQ are the .jobs-* rules of styles.css;
   this file holds what is new: plan cards, forms, the disabled state, records (offer, professional, company), the coverage table.
   The Notify me form copies the look of assets/shop.css (.shop-notify*), so a page here does not load the shop's file. */
.jp-sec { padding: clamp(36px, 5vw, 64px) 0; }
.jp-sec.section-alt { background: var(--bg-2); }
.jp-hint { margin: 10px 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
.jp-side-h { margin: 22px 0 8px; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.jp-h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.jobs-hero .kicker a { color: inherit; text-decoration: none; }
.jobs-hero .kicker a:hover { text-decoration: underline; }
.jobs-hero .jobs-state .btn { margin-left: 4px; }
/* plans */
.jp-plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.jp-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px 24px 14px; border-left: 1px solid var(--line); }
.jp-plan:first-child { padding-left: 0; border-left: 0; }
.jp-plan:last-child { padding-right: 0; }
.jp-plan.is-featured::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: var(--accent); }
.jp-plan-n { margin: 0 0 8px; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.jp-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; }
.jp-plan-price b { font: 600 2.2rem/1.1 var(--mono); letter-spacing: -0.04em; color: var(--ink); }
.jp-plan-price span { font-size: 0.9rem; color: var(--muted); }
.jp-plan-year { margin: 2px 0 12px; font-size: 0.85rem; color: var(--muted); }
.jp-plan-line { margin: 0 0 12px; font-weight: 600; color: var(--ink); }
.jp-plan ul { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.jp-plan ul li { padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); font-size: 0.92rem; line-height: 1.45; color: var(--text-2); position: relative; }
.jp-plan ul li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.jp-plan-act { margin-top: auto; padding-bottom: 8px; }
.jp-points { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.jp-join li { display: flex; flex-direction: column; }
.jp-join li span { margin-bottom: 12px; }
.jp-join li .btn, .jp-join li .jp-notify-foot { margin-top: auto; align-self: flex-start; }
.jp-flow { margin: 0; }
/* forms and the disabled state */
.jp-off { margin: 0 0 22px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--bg-2); max-width: 640px; }
.jp-off p { margin: 0 0 6px; font-size: 0.95rem; line-height: 1.5; }
.jp-off .jobs-soon { margin-right: 8px; }
.jp-on { margin: 0 0 18px; color: var(--text-2); }
.jp-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.jp-fs[disabled] { opacity: 0.55; }
.jp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-bottom: 20px; max-width: 880px; }
.jp-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jp-wide, .jp-chk { grid-column: 1 / -1; }
.jp-l { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.jp-l i { font-weight: 400; color: var(--muted); }
.jp-f input:not([type=checkbox]), .jp-f select, .jp-f textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
.jp-f input:focus, .jp-f select:focus, .jp-f textarea:focus { outline: none; border-color: var(--ink); box-shadow: var(--ring); }
.jp-chk { margin: 0; padding: 0; border: 0; min-width: 0; }
.jp-chk legend { padding: 0; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.jp-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 18px; margin-top: 8px; }
.jp-checks label, .jp-consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.92rem; line-height: 1.45; color: var(--text-2); }
.jp-checks input, .jp-consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--ink); }
.jp-consent a { color: var(--accent-ink); }
.jp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jp-msg { margin: 12px 0 0; font-size: 0.92rem; color: var(--text-2); }
.jp-msg:empty { display: none; }
.jp-form.is-sent .jp-grid, .jp-form.is-sent button { display: none; }
.jp-filters { margin-bottom: 26px; }
.jp-filters .jp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin-bottom: 0; }
.jp-alt { margin: 22px 0 0; font-size: 0.95rem; color: var(--text-2); }
.jp-alt a { color: var(--accent-ink); }
/* empty state, coverage, certification marks */
.jp-empty { padding: 28px 26px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--bg-2); }
.jp-empty h3 { margin: 0 0 8px; font-size: 1.3rem; }
.jp-empty p { max-width: 62ch; color: var(--text-2); }
.jp-empty-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.jp-tablewrap { overflow-x: auto; }
.jp-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.jp-table th, .jp-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.jp-table thead th { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.jp-table td { font: 600 1rem/1.4 var(--mono); color: var(--muted); }
.jp-states { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.jp-states li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.jp-states li.is-vf { border-color: var(--accent); background: var(--accent-soft); }
.jp-states b { display: block; margin-bottom: 4px; color: var(--ink); }
.jp-states span { font-size: 0.92rem; line-height: 1.5; color: var(--text-2); }
.jp-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jp-pills li { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text-2); }
.jp-vf { display: inline-block; padding: 1px 8px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-ink); font: 600 0.72rem/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.jp-dc { display: inline-block; padding: 1px 8px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); color: var(--muted); font: 500 0.72rem/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
/* records: offer, professional, company (and their templates) */
.jp-rec { padding: clamp(32px, 4.5vw, 56px) 0; }
.jp-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.jp-by { margin: 0 0 14px; color: var(--muted); }
.jp-text { color: var(--text-2); max-width: 68ch; }
.jp-side { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.jp-certs { list-style: none; margin: 0; padding: 0; }
.jp-certs li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.jp-certs small { display: block; margin-top: 2px; color: var(--muted); }
.jp-side-act { margin-top: 18px; }
.jp-vf-line { margin: 0; font-size: 0.92rem; }
.jp-ph { display: inline-block; padding: 0 8px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); color: var(--muted); font-size: 0.9em; }
/* Notify me (the look of the books' form) */
.jp-notify-foot { padding-top: 6px; }
.shop-notify-btn { white-space: normal; text-align: left; text-wrap: balance; }
.shop-notify-btn[hidden], .shop-notify[hidden] { display: none; }
.shop-notify { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.shop-notify-l { font: 500 0.7rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.shop-notify-in { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
.shop-notify-in:focus { outline: none; border-color: var(--ink); box-shadow: var(--ring); }
.shop-notify-consent { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.8rem; line-height: 1.45; color: var(--text-2); }
.shop-notify-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); }
.shop-notify-consent a, .shop-notify-msg a { color: var(--accent-ink); }
.shop-notify-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.shop-notify-send { align-self: flex-start; }
.shop-notify-msg { margin: 0; font-size: 0.875rem; line-height: 1.45; color: var(--text-2); }
.shop-notify-msg:empty { display: none; }
.shop-notify.is-sent > :not(.shop-notify-msg) { display: none; }
@media (max-width: 900px) {
  .jp-plans { grid-template-columns: minmax(0, 1fr); }
  .jp-plan, .jp-plan:first-child, .jp-plan:last-child { padding: 20px 0 10px; border-left: 0; }
  .jp-plan + .jp-plan { margin-top: 18px; border-top: 2px solid var(--ink); }
  .jp-two { grid-template-columns: minmax(0, 1fr); }
  .jp-filters .jp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .jp-grid, .jp-states { grid-template-columns: minmax(0, 1fr); }
  .jp-filters .jp-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Airworthiness directives (build/news.py ad_list, 14-11): a plain list, one row per AD; on a phone each row stacks with its labels */
.jp-ads .ad-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.ad-list { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ad-list th, .ad-list td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ad-list thead th { font: 600 0.72rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.ad-list tbody tr:last-child td { border-bottom: 0; }
.ad-list .ad-no, .ad-list .ad-date { font-family: var(--mono); white-space: nowrap; }
.ad-list .ad-t { color: var(--ink); font-weight: 600; }
.ad-list .ad-go { white-space: nowrap; text-align: right; }
.jp-ads .ad-src { margin: 10px 0 0; font-size: 0.84rem; color: var(--muted); }
@media (max-width: 720px) {
  .ad-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ad-list, .ad-list tbody, .ad-list tr, .ad-list td { display: block; }
  .ad-list tr { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .ad-list tbody tr:last-child { border-bottom: 0; }
  .ad-list td { padding: 2px 0; border: 0; white-space: normal; text-align: left; }
  .ad-list td[data-l]::before { content: attr(data-l); margin-right: 8px; font: 600 0.7rem/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .ad-list .ad-go { text-align: left; padding-top: 4px; }
}
/* 15-11: the dollar figure beside the euro price (build/money.py) */
.jp-plan-price .px-usd{font-size:1rem;color:var(--ink)}
/* AOG network: the part number box that opens the Distributor Finder (build/jobs_platform.py aog_finder, 15-11) */
.jp-finder { max-width: 760px; }
.jp-finder-l { display: block; margin: 0 0 8px; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.jp-finder-row { display: flex; gap: 10px; }
.jp-finder-row input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: 500 1rem/1.3 var(--mono); }
.jp-finder-row input::placeholder { color: var(--muted); }
.jp-finder-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.jp-finder-row .btn { flex: 0 0 auto; min-height: 48px; }
.jp-finder-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }
.jp-finder-try ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.jp-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: 500 0.82rem/1.2 var(--mono); text-decoration: none; }
.jp-chip:hover { border-color: var(--ink); text-decoration: none; }
.jp-finder-more { margin: 18px 0 0; }
@media (max-width: 560px) {
  .jp-finder-row { flex-direction: column; }
  .jp-finder-row .btn { width: 100%; }
  .jp-chip { min-height: 44px; }
}
