/* static/hr_portal/apply-page.css — yagona vakansiya / karyera sahifasi (2026-11-01, TZ_ELON_TARIXI_ANKETA_SAHIFA §3).
   Oq fon (qaymoq/kulrang yo'q), yashil urg'u (--hb-acc), Inter; sticky YO'Q. Kompyuterda: chapda e'lon, o'ngda ariza kartasi;
   ≤980px — ostma-ost. Ranglar hb-tokens.css dagi --hb-* dan — qorong'i rejim avtomatik. Forma mantiqi — career-form.js. */
.ap{ margin:0; background:var(--hb-sfc); color:var(--hb-txt); font-family:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing:antialiased; }
.ap *{ box-sizing:border-box; }
.ap-wrap{ max-width:1180px; margin:0 auto; padding:0 20px; }
.ap-hidden{ display:none !important; }

/* ── Yuqori satr ── */
.ap-top{ border-bottom:1px solid var(--hb-brd); }
.ap-top .ap-wrap{ display:flex; align-items:center; justify-content:space-between; gap:12px; height:60px; }
.ap-brand{ font-weight:800; font-size:15px; letter-spacing:-.01em; }
.ap-top-cta{ display:none; font-weight:700; font-size:14px; color:var(--hb-acc); text-decoration:none; }

/* ── Tuzilish ── */
.ap-grid{ display:grid; grid-template-columns:minmax(0, 1fr) 440px; gap:56px; align-items:start; padding-top:40px; padding-bottom:64px; }
.ap-kicker{ font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--hb-acc); }
.ap-post h1{ font-size:clamp(28px, 4vw, 40px); line-height:1.12; letter-spacing:-.025em; margin:10px 0 14px; font-weight:800; }
.ap-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.ap-chip{ font-size:13px; font-weight:600; padding:6px 12px; border-radius:999px; border:1px solid var(--hb-brd); color:var(--hb-txt); }
.ap-chip.is-acc{ color:var(--hb-acc); border-color:color-mix(in srgb, var(--hb-acc) 45%, transparent);
  background:color-mix(in srgb, var(--hb-acc) 8%, var(--hb-sfc)); }

/* ── E'lon matni ── */
.ap-prose{ font-size:16px; line-height:1.7; color:var(--hb-txt); max-width:68ch; }
.ap-prose p{ margin:0 0 14px; }
.ap-prose h3{ font-size:17px; font-weight:800; letter-spacing:-.01em; margin:28px 0 10px; display:flex; align-items:center; gap:10px; }
.ap-prose h3::before{ content:''; width:4px; height:18px; border-radius:4px; background:var(--hb-acc); flex:none; }
.ap-prose ul{ list-style:none; margin:0 0 6px; padding:0; display:flex; flex-direction:column; gap:8px; }
.ap-prose li{ position:relative; padding-left:28px; }
.ap-prose li::before{ content:''; position:absolute; left:0; top:.38em; width:18px; height:18px; border-radius:50%;
  background:color-mix(in srgb, var(--hb-acc) 14%, var(--hb-sfc)); }
.ap-prose li::after{ content:''; position:absolute; left:6px; top:calc(.38em + 4px); width:5px; height:8px;
  border:solid var(--hb-acc); border-width:0 2px 2px 0; transform:rotate(45deg); }
/* 2026-11-01: muharrirda yozilgan e'lon (HTML) — sarlavha, raqamli/ichki ro'yxat, iqtibos, havola (hr_portal/post_html.py) */
.ap-prose > :first-child{ margin-top:0; }
.ap-prose h2{ font-size:20px; font-weight:800; letter-spacing:-.01em; margin:30px 0 12px; }
.ap-prose h4{ font-size:16px; font-weight:700; margin:20px 0 8px; }
.ap-prose ol{ margin:0 0 6px; padding-left:24px; }
.ap-prose ol > li{ padding-left:4px; margin-bottom:8px; }
.ap-prose ol > li::before, .ap-prose ol > li::after{ content:none; }
.ap-prose li > ul, .ap-prose li > ol{ margin-top:8px; }
.ap-prose blockquote{ margin:0 0 14px; padding:4px 0 4px 14px; border-left:3px solid var(--hb-acc); color:var(--hb-mut); }
.ap-prose a{ color:var(--hb-acc); text-decoration:underline; text-underline-offset:2px; }

/* ── Boshqa vakansiyalar ── */
.ap-others, .ap-vac{ margin-top:40px; }
.ap-others h3, .ap-vac h3{ font-size:15px; font-weight:800; margin:0 0 12px; }
/* 2026-11-01: vakansiya sahifasida «Boshqa ochiq vakansiyalar» — yig'ma (standart yopiq; buyurtmachi: «chalg'itmasin»).
   Sarlavha: ikonka-plitka + nom/soni + izoh + aylanadigan strelka; ichida — qatorli ro'yxat (nom, bo'lim, →). */
.ap-fold{ margin-top:36px; border:1px solid var(--hb-brd); border-radius:16px; background:var(--hb-sfc); overflow:hidden;
  transition:border-color .18s, box-shadow .18s; }
.ap-fold:hover{ border-color:color-mix(in srgb, var(--hb-acc) 40%, var(--hb-brd)); }
.ap-fold[open]{ border-color:color-mix(in srgb, var(--hb-acc) 45%, var(--hb-brd));
  box-shadow:0 10px 30px -18px color-mix(in srgb, var(--hb-acc) 55%, transparent); }
.ap-fold > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:14px; padding:14px 16px; user-select:none; }
.ap-fold > summary::-webkit-details-marker{ display:none; }
.ap-fold > summary:focus-visible{ outline:2px solid var(--hb-acc); outline-offset:-2px; border-radius:16px; }
.ap-fold-tile{ width:42px; height:42px; flex:none; border-radius:12px; display:inline-flex; align-items:center; justify-content:center;
  color:var(--hb-acc); background:color-mix(in srgb, var(--hb-acc) 12%, var(--hb-sfc)); }
.ap-fold-t{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.ap-fold-t b{ display:block; font-size:15.5px; font-weight:800; line-height:1.35; color:var(--hb-txt); }
.ap-fold-t small{ font-size:13px; color:var(--hb-mut); }
.ap-fold-n{ min-width:22px; height:22px; padding:0 7px; margin-left:6px; vertical-align:1px; border-radius:11px; display:inline-flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:800; color:#fff; background:var(--hb-acc); }
.ap-fold-ic{ width:34px; height:34px; flex:none; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  color:var(--hb-mut); border:1px solid var(--hb-brd); transition:transform .22s, color .18s, border-color .18s, background .18s; }
.ap-fold > summary:hover .ap-fold-ic{ color:var(--hb-acc); border-color:var(--hb-acc); }
.ap-fold[open] > summary .ap-fold-ic{ transform:rotate(180deg); color:#fff; background:var(--hb-acc); border-color:var(--hb-acc); }
.ap-fold > .ap-others-list{ display:flex; flex-direction:column; gap:0; padding:0 8px 8px; border-top:1px solid var(--hb-brd);
  animation:apFoldIn .22s ease-out; }
@keyframes apFoldIn{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }
.ap-fold .ap-other{ flex-direction:row; align-items:center; gap:12px; padding:12px 10px; border:0; border-radius:12px; margin-top:6px; }
.ap-fold .ap-other + .ap-other{ margin-top:2px; }
.ap-fold .ap-other:hover{ background:color-mix(in srgb, var(--hb-acc) 8%, var(--hb-sfc)); }
.ap-other .ap-other-t{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; font-size:15px; color:var(--hb-txt); }
.ap-other .ap-other-t b{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ap-other .ap-other-t > span{ font-size:13px; color:var(--hb-mut); }
.ap-other-go{ flex:none; color:var(--hb-mut); transition:transform .18s, color .18s; }
.ap-fold .ap-other:hover .ap-other-go{ color:var(--hb-acc); transform:translateX(3px); }
@media (prefers-reduced-motion: reduce){ .ap-fold > .ap-others-list{ animation:none; } .ap-fold-ic, .ap-other-go{ transition:none; } }
.ap-others-list{ display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:10px; }
.ap-other{ display:flex; flex-direction:column; gap:3px; padding:14px 16px; border:1px solid var(--hb-brd); border-radius:14px;
  text-decoration:none; color:var(--hb-txt); background:var(--hb-sfc); transition:border-color .15s; }
.ap-other:hover{ border-color:var(--hb-acc); }
.ap-other b{ font-size:15px; }
.ap-other span{ font-size:13px; color:var(--hb-mut); }
.ap-mobile-cta{ display:none; }

/* ── Ariza kartasi ── */
.ap-card{ border:1px solid var(--hb-brd); border-radius:20px; padding:26px 24px; background:var(--hb-sfc);
  box-shadow:0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06); }
.ap-form-head h2{ font-size:22px; font-weight:800; letter-spacing:-.02em; margin:0 0 6px; }
.ap-form-head p{ font-size:13.5px; color:var(--hb-mut); margin:0 0 20px; }
.ap-row2{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:0 12px; }
.ap-row2 > .field{ min-width:0; }
.ap-sect{ font-size:13px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--hb-acc);
  margin:6px 0 14px; padding-top:16px; border-top:1px dashed var(--hb-brd); }
.ap .field{ margin-bottom:16px; }
.ap .field label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:7px; line-height:1.45; }
.ap .hb-input, .ap .hb-select, .ap select.hb-input{ width:100%; height:46px; padding:0 14px; font-size:15px; font-family:inherit; color:var(--hb-txt);
  background:var(--hb-sfc); border:1px solid var(--hb-brd); border-radius:12px; transition:border-color .15s, box-shadow .15s; }
.ap textarea.hb-input{ height:auto; min-height:84px; padding:12px 14px; line-height:1.55; resize:vertical; }
.ap .hb-input[type=file]{ height:auto; padding:11px 12px; cursor:pointer; }
.ap .hb-input:focus, .ap .hb-select:focus{ outline:none; border-color:var(--hb-acc); box-shadow:0 0 0 3px color-mix(in srgb, var(--hb-acc) 18%, transparent); }
.ap .phone-inwrap{ display:flex; align-items:center; gap:8px; height:46px; padding:0 14px; border-radius:12px; border:1px solid var(--hb-brd); background:var(--hb-sfc); }
.ap .phone-inwrap:focus-within{ border-color:var(--hb-acc); box-shadow:0 0 0 3px color-mix(in srgb, var(--hb-acc) 18%, transparent); }
.ap .phone-prefix{ font-size:14px; color:var(--hb-mut); font-weight:600; }
.ap .phone-inwrap input{ flex:1; width:100%; border:0; background:none; height:100%; font-size:15px; font-family:inherit; color:var(--hb-txt); outline:none; min-width:0; }
.ap .hint{ font-size:12px; color:var(--hb-mut); margin-top:6px; }
.ap-checks{ display:flex; flex-wrap:wrap; gap:8px; }
.ap-check{ display:inline-flex !important; align-items:center; gap:8px; padding:9px 12px; border:1px solid var(--hb-brd); border-radius:10px;
  font-size:14px !important; font-weight:500 !important; margin:0 !important; cursor:pointer; }
.ap-check:has(input:checked){ border-color:var(--hb-acc); background:color-mix(in srgb, var(--hb-acc) 8%, var(--hb-sfc)); }
.ap-check input{ accent-color:var(--hb-acc); width:16px; height:16px; }

/* Xato holati (career-form.js) */
.ap .field.invalid .hb-input, .ap .field.invalid .phone-inwrap{ border-color:var(--hb-danger); box-shadow:0 0 0 3px color-mix(in srgb, var(--hb-danger) 14%, transparent); }
.ap .field .err{ display:none; font-size:12.5px; font-weight:600; color:var(--hb-danger); margin-top:6px; }
.ap .field.invalid .err{ display:block; }
.ap .msg{ display:none; padding:12px 14px; border-radius:12px; font-size:13.5px; margin-bottom:16px; border:1px solid transparent; }
.ap .msg.ok{ display:block; border-color:var(--hb-acc); }
.ap .msg.err{ display:block; border-color:var(--hb-danger); color:var(--hb-danger); }

/* Yuborish */
.ap .stepnav{ margin-top:8px; }
.ap #submitBtn{ width:100%; height:52px; border:0; border-radius:14px; background:var(--hb-acc); color:var(--hb-acc-ink, #062018);
  font-size:16px; font-weight:800; font-family:inherit; cursor:pointer; transition:filter .15s; }
.ap #submitBtn:hover{ filter:brightness(.96); }
.ap #submitBtn:disabled{ opacity:.6; cursor:default; }
.ap-privacy{ font-size:12px; color:var(--hb-mut); text-align:center; margin:12px 0 0; }
.ap .success{ text-align:center; padding:32px 6px; }
.ap .success .ic{ width:60px; height:60px; margin:0 auto 16px; border-radius:50%; display:grid; place-items:center; font-size:28px;
  color:var(--hb-acc); background:color-mix(in srgb, var(--hb-acc) 14%, var(--hb-sfc)); }
.ap .success h2{ font-size:22px; margin:0 0 8px; }
.ap .success p{ color:var(--hb-mut); line-height:1.6; margin:0; }

.ap-foot{ border-top:1px solid var(--hb-brd); color:var(--hb-mut); font-size:13px; }
.ap-foot .ap-wrap{ padding-top:18px; padding-bottom:22px; }

@media (max-width:980px){
  .ap-grid{ grid-template-columns:1fr; gap:28px; padding-top:24px; }
  .ap-top-cta{ display:inline-block; }
  .ap-mobile-cta{ display:inline-flex; margin-top:22px; padding:12px 18px; border-radius:12px; background:var(--hb-acc); color:var(--hb-acc-ink, #062018);
    font-weight:800; text-decoration:none; }
  .ap-card{ padding:22px 16px; border-radius:18px; box-shadow:none; }
}
@media (max-width:520px){ .ap-row2{ grid-template-columns:1fr; } .ap-wrap{ padding:0 16px; } .ap-prose{ font-size:15.5px; } }
@media (prefers-reduced-motion:reduce){ .ap *{ transition:none !important; } }

/* ── Rezyume: tashlash maydoni (2026-11-01; career-form.js::wireDrop) — bosib tanlash yoki sudrab tashlash ── */
.ap-drop{ position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; padding:20px 16px; text-align:center;
  border:1.5px dashed var(--hb-brd); border-radius:14px; background:var(--hb-sfc); cursor:pointer; transition:border-color .15s, background .15s; }
.ap-drop:hover, .ap-drop.is-over{ border-color:var(--hb-acc); background:color-mix(in srgb, var(--hb-acc) 5%, var(--hb-sfc)); }
.ap-drop:focus-within{ border-color:var(--hb-acc); box-shadow:0 0 0 3px color-mix(in srgb, var(--hb-acc) 18%, transparent); }
.ap-drop-input{ position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.ap-drop-ic{ width:42px; height:42px; border-radius:12px; display:grid; place-items:center; color:var(--hb-acc);
  background:color-mix(in srgb, var(--hb-acc) 12%, var(--hb-sfc)); }
.ap-drop-t{ font-size:14px; color:var(--hb-txt); }
.ap-drop-t b{ color:var(--hb-acc); font-weight:700; }
.ap-drop-h{ font-size:12px; color:var(--hb-mut); }
.ap-file{ display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:14px;
  border:1px solid color-mix(in srgb, var(--hb-acc) 45%, var(--hb-brd)); background:color-mix(in srgb, var(--hb-acc) 5%, var(--hb-sfc)); }
.ap-file-ic{ width:36px; height:36px; border-radius:10px; display:grid; place-items:center; flex:none; color:var(--hb-acc);
  background:color-mix(in srgb, var(--hb-acc) 12%, var(--hb-sfc)); }
.ap-file-t{ display:flex; flex-direction:column; min-width:0; flex:1; }
.ap-file-n{ font-size:14px; font-weight:600; color:var(--hb-txt); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ap-file-s{ font-size:12px; color:var(--hb-mut); }
.ap-file-x{ width:32px; height:32px; flex:none; border:1px solid var(--hb-brd); border-radius:10px; background:var(--hb-sfc);
  color:var(--hb-mut); font-size:14px; cursor:pointer; }
.ap-file-x:hover{ color:var(--hb-danger); border-color:var(--hb-danger); }
.ap-drop[hidden], .ap-file[hidden]{ display:none; }
.ap .field.invalid .ap-drop, .ap .field.invalid .ap-file{ border-color:var(--hb-danger); }
@media (hover:none){ .ap-drop-or{ display:none; } }
/* Forma `.ap .field label` qoidasi (display:block, qalin, pastki chekka) tashlash maydoniga tegmasin — aniqroq selektor */
.ap .field label.ap-drop{ display:flex; margin:0; font-size:inherit; font-weight:400; line-height:1.4; }
.ap .field label.ap-drop[hidden], .ap .field .ap-file[hidden]{ display:none; }
