/* HRSS public website. Loaded only by the public and sign-in layouts; staff portals use app.css.
   Brand: #854214 brown (primary), #d19460 gold (accent, decorative or on dark only), #faf7f3 warm white.
   Contrast: white on #854214 7.5:1; #261a11 on #faf7f3 15:1; muted #6b5d52 on #faf7f3 5.9:1. Gold is never text on light backgrounds.
   Direction-neutral (logical) properties throughout, so Urdu mirrors correctly. No JavaScript required. */
@font-face { font-family: "Plex"; src: url("/fonts/plex-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/plex-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nastaliq"; src: url("/fonts/nastaliq-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nastaliq"; src: url("/fonts/nastaliq-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --brown: #854214; --brown-dark: #6e3610; --gold: #d19460; --gold-tint: #f6eadf; --canvas: #faf7f3; --surface: #fff;
  --ink: #261a11; --ink-2: #4a3b30; --muted: #6b5d52; --line: #e6ddd3; --line-strong: #cbbcad;
  --good: #1f7a4d; --good-bg: #e7f4ec; --bad: #b42318; --bad-bg: #fdecea; --info-bg: #eef3f9; --info: #1d5fa8; --sample: #5b4a8b; --sample-bg: #efebf8;
  --radius: 10px; --radius-lg: 14px; --shadow: 0 1px 2px rgba(38, 26, 17, .05), 0 4px 16px rgba(38, 26, 17, .04);
  --font: "Plex", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.6 var(--font); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brown); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brown-dark); }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 600; margin: 0 0 .6rem; letter-spacing: -.01em; }
html[lang="ur"] :is(h1, h2, h3) { line-height: 1.7; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); } h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); } h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; } ul { padding-inline-start: 1.2rem; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: -9999px; top: .5rem; z-index: 50; background: #fff; padding: .75rem 1rem; border-radius: 8px; }
.skip:focus { inset-inline-start: .5rem; }
.icon { flex: none; vertical-align: middle; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brown); margin-bottom: .75rem; }
html[lang="ur"] .eyebrow { letter-spacing: 0; text-transform: none; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }

/* Buttons: 48px touch targets */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--brown); color: #fff; } .btn-primary:hover { background: var(--brown-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--brown); border-color: var(--brown); } .btn-secondary:hover { background: var(--gold-tint); color: var(--brown-dark); }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--line-strong); } .btn-ghost:hover { border-color: var(--brown); }
.btn-light { background: #fff; color: var(--brown); } .btn-light:hover { background: var(--gold-tint); color: var(--brown-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); } .btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-compact { min-height: 44px; padding: .5rem 1rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: .5rem 0; min-height: 44px; color: var(--brown); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-inline-end: auto; }
.brand img { height: 32px; width: auto; }
.brand-tag { font-size: .8rem; color: var(--muted); border-inline-start: 1px solid var(--line); padding-inline-start: .65rem; line-height: 1.2; }
.nav-desktop { display: flex; gap: .25rem; }
.nav-desktop a, .nav-signin { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .6rem .75rem; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-desktop a:hover, .nav-signin:hover { color: var(--brown); background: var(--canvas); }
.nav-desktop a[aria-current="page"], .nav-signin[aria-current="page"] { color: var(--brown); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang { font-weight: 600; text-decoration: none; padding: .5rem .6rem; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); }
.lang[lang="ur"] { font-family: "Nastaliq", var(--font); font-size: 1.05rem; }
.nav-mobile { display: none; }
.nav-mobile > summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; min-width: 48px; padding: 0 .75rem; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--ink); background: #fff; }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile .icon-close { display: none; } .nav-mobile[open] .icon-close { display: inline; } .nav-mobile[open] .icon-open { display: none; }
.nav-mobile-panel { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(38, 26, 17, .08); padding: .75rem 1.25rem 1.25rem; display: grid; gap: .25rem; }
.nav-mobile-panel a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 .5rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav-mobile-panel a[aria-current="page"] { color: var(--brown); background: var(--gold-tint); }
.nav-mobile-panel hr { border: 0; border-top: 1px solid var(--line); margin: .5rem 0; width: 100%; }
.nav-mobile-panel .btn { margin-top: .35rem; }

/* Sections */
.section { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--ink-2); }
.hero { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); background: linear-gradient(180deg, #fff 0%, var(--canvas) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.hero h1 { max-width: 18ch; }
.hero-tagline { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem); max-width: 14ch; }
.hero-tagline span { display: block; }
.hero-tagline span:nth-child(3) { color: var(--brown); }
.page-hero { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .9rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .4rem; color: var(--line-strong); }

/* Cards and grids */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.card h2, .card h3 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature-icon { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--gold-tint); color: var(--brown); }
.feature h3 { margin-bottom: .3rem; } .feature p { margin: 0; color: var(--ink-2); }
.audience-card { display: flex; flex-direction: column; gap: 1rem; }
.audience-card .cta-row { margin-top: auto; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--good); margin-top: .2rem; }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brown); color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.steps h3 { font-size: 1.05rem; margin-bottom: .3rem; } .steps p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.timeline-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
.timeline-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; }
.timeline-steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-tint); color: var(--brown); font-weight: 600; border: 1px solid var(--gold); }
.timeline-steps h3 { margin: .35rem 0 .25rem; font-size: 1.1rem; } .timeline-steps p { margin: 0; color: var(--ink-2); }

/* Trust band */
.band { background: var(--brown); color: #fff; }
.band h2, .band h3 { color: #fff; } .band p { color: #f7eadf; } .band a:not(.btn) { color: #fff; }
.band .feature-icon { background: rgba(255, 255, 255, .12); color: var(--gold); }
.band .feature p { color: #f3e3d4; }
.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; }
.trust-strip .feature p { font-size: .95rem; }

/* Search */
.search-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow); }
.search-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) auto; gap: .75rem; align-items: end; }
.search-grid .field { margin: 0; }
.search-grid .btn { min-width: 150px; }

/* Forms: 16px text so phones do not zoom; 48px controls */
.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; padding: 0; }
.field .hint { display: block; color: var(--muted); font-size: .88rem; margin: -.15rem 0 .45rem; }
.req { color: var(--bad); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 48px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; padding: .65rem .85rem; }
select { appearance: auto; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px var(--gold-tint); }
.has-error input, .has-error select, .has-error textarea, [aria-invalid="true"] { border-color: var(--bad); }
.error-text { color: var(--bad); font-size: .9rem; margin: .35rem 0 0; }
.phone-row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .5rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: 0 0 .9rem; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--brown); }
.code-input { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; max-width: 16rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .5rem; }
.form-section { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: .5rem; }
.form-section h2 { font-size: 1.15rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }

/* Messages */
.flash-wrap { padding-top: 1rem; }
.flash { display: flex; gap: .7rem; align-items: flex-start; border-radius: var(--radius); padding: .9rem 1rem; border: 1px solid; margin-bottom: .5rem; }
.flash ul { margin: .25rem 0 0; padding-inline-start: 1.1rem; }
.flash.ok { background: var(--good-bg); border-color: #b9dfc9; color: #14532d; }
.flash.err { background: var(--bad-bg); border-color: #f2c1bc; color: #7a1a12; }
.notice { display: flex; gap: .75rem; align-items: flex-start; background: var(--gold-tint); border: 1px solid #ecd2b9; border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.notice p:last-child { margin: 0; }
.notice-info { background: var(--info-bg); border-color: #cddcef; }
.notice-sample { background: var(--sample-bg); border-color: #d6cdee; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--canvas); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge-sample { background: var(--sample-bg); color: var(--sample); border-color: #d6cdee; }
.badge-good { background: var(--good-bg); color: var(--good); border-color: #b9dfc9; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }

/* Job cards */
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin: 2rem 0 1rem; }
.results-head h2 { font-size: 1.25rem; margin: 0; }
.job-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.job-card { position: relative; display: flex; flex-direction: column; gap: .75rem; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem; box-shadow: var(--shadow); transition: border-color .15s; }
.job-card:hover, .job-card:focus-within { border-color: var(--gold); }
.job-card-head { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; }
.job-card h3 { font-size: 1.2rem; margin: 0; }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); } /* whole card clickable through one link */
.job-employer { color: var(--muted); font-size: .92rem; margin: -.4rem 0 0; }
.job-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .9rem; margin: 0; padding: 0; list-style: none; font-size: .95rem; color: var(--ink-2); }
.job-meta li { display: flex; gap: .45rem; align-items: center; min-width: 0; }
.job-meta .icon { color: var(--brown); }
.job-salary { font-weight: 600; color: var(--ink); }
.job-excerpt { color: var(--ink-2); margin: 0; font-size: .95rem; }
.job-card-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.job-card-cta { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--brown); }
.empty-state { text-align: center; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 2.5rem 1.5rem; }
.empty-state .feature-icon { margin-bottom: .75rem; }
.empty-state .cta-row { justify-content: center; }

/* Job detail */
.job-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.facts div { display: flex; gap: .6rem; align-items: flex-start; }
.facts dt { font-size: .85rem; color: var(--muted); margin: 0; } .facts dd { margin: 0; font-weight: 600; }
.facts .icon { color: var(--brown); margin-top: .2rem; }
.sticky-panel { position: sticky; top: 90px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.5rem; } .prose p, .prose li { color: var(--ink-2); }

/* Sign-in pages */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; align-items: start; padding-block: clamp(1.5rem, 1rem + 2vw, 3rem); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); box-shadow: var(--shadow); }
.auth-card h1 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.auth-aside { padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.auth-aside.dark { background: var(--brown); color: #fff; border-color: var(--brown); }
.auth-aside.dark h2 { color: #fff; } .auth-aside.dark p, .auth-aside.dark li { color: #f7eadf; } .auth-aside.dark a { color: #fff; }
.auth-aside.dark .check-list .icon { color: var(--gold); }
.auth-links { display: grid; gap: .35rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .95rem; }
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.choice-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: var(--canvas); }
.choice-card.current { border-color: var(--brown); background: #fff; box-shadow: inset 0 3px 0 var(--gold); }
.choice-card h2 { font-size: 1rem; margin-bottom: .25rem; } .choice-card p { font-size: .92rem; margin: 0 0 .4rem; color: var(--ink-2); }
.stepper { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: .4rem; }
.stepper li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.stepper li[aria-current="step"] { color: var(--brown); font-weight: 600; } .stepper li[aria-current="step"]::before { background: var(--brown); }
.stepper li.done::before { background: var(--good); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: .75rem; margin: 2rem 0 0; flex-wrap: wrap; }
.page-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.1rem; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; text-decoration: none; font-weight: 600; }
.page-link.disabled { color: var(--muted); opacity: .6; }
.page-status { color: var(--muted); }

/* Footer */
.site-footer { background: #1f150d; color: #e9dccf; margin-top: 0; padding-block: 2.5rem 1.5rem; }
.site-footer a { color: #fff; }
.footer-safety { display: flex; gap: .75rem; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 2rem; color: #f3e3d4; }
.footer-safety .icon { color: var(--gold); } .footer-safety p { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: #e9dccf; }
.footer-grid li a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 32px; width: auto; margin-bottom: .75rem; }
.footer-brand p { color: #cdbcab; font-size: .95rem; }
.tagline { color: var(--gold) !important; font-weight: 600; letter-spacing: .02em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.25rem; font-size: .88rem; color: #b9a896; }

/* Responsive */
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .nav-desktop, .header-actions { display: none; }
  .nav-mobile { display: block; }
  .header-row { position: relative; min-height: 64px; }
  .hero-grid, .job-layout, .auth-wrap { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .trust-strip { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grid-2, .job-list, .choice-cards, .two-col { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr; }
  .search-grid .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .form-actions .btn, .auth-card .btn-primary { width: 100%; }
  .brand-tag { display: none; }
}
@media (max-width: 420px) {
  .wrap { padding-inline: 1rem; }
  .job-meta { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .job-card { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .site-header, .site-footer, .nav-mobile { display: none; } }

/* Utilities (CSP forbids inline styles) */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .h3 { font-size: 1.15rem; }
.locale-form { display: inline; margin: 0; } .locale-form .lang { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.nav-mobile-panel .locale-form .lang { min-height: 48px; padding: 0 .5rem; }

/* QA refinements */
.job-card-cta { white-space: nowrap; }
.mobile-only { display: none; }
[dir="ltr"] { unicode-bidi: isolate; }
html[dir="rtl"] .hero-tagline { text-align: right; }
@media (max-width: 960px) { .mobile-only { display: inline-flex; margin-top: .75rem; } }
@media (max-width: 760px) {
  .steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: .75rem; padding: .9rem 1rem; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps h3 { margin: .2rem 0 .15rem; }
}

/* Paired fields line up: labels on one line, hints below inputs */
.two-col, .search-grid { align-items: start; }
.two-col > .field > label, .two-col > .field > legend { min-height: 1.6em; }
.field .hint { margin: .4rem 0 0; }
/* "Other (please specify)" for dropdowns */
.choice-field .other-input { display: none; margin-top: .6rem; }
.choice-field .other-input label { font-weight: 400; font-size: .9rem; }
.choice-field:has(option[value="__other"]:checked) .other-input { display: block; }
@supports not selector(:has(*)) { .choice-field .other-input { display: block; } }
optgroup { font-weight: 600; }

/* Urdu: body in Alvi Nastaleeq when installed/uploaded, else Gulzar (bundled, OFL), else Noto Nastaliq Urdu.
   Headings: PT Bold Heading when installed/uploaded, else Noto Nastaliq Urdu Bold. */
@font-face { font-family: "Gulzar"; src: url("/fonts/gulzar-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
html[lang="ur"] body { font-family: "Alvi Nastaleeq", "Gulzar", "Nastaliq", var(--font); font-size: 17px; line-height: 2.05; }
html[lang="ur"] :is(h1, h2, h3, .hero-tagline, .btn, .eyebrow) { font-family: "PT Bold Heading", "Nastaliq", "Gulzar", var(--font); }
html[lang="ur"] :is(h1, h2, h3) { font-weight: 700; line-height: 1.8; }
html[lang="ur"] [lang="en"], html[lang="ur"] .ltr, html[lang="ur"] input, html[lang="ur"] select, html[lang="ur"] textarea { font-family: var(--font); }

.consents { display: grid; gap: .3rem; margin: .5rem 0 1rem; } .optional-consents { border: 1px solid var(--line, #e6ddd3); border-radius: 10px; padding: .75rem 1rem; margin: 0 0 1rem; } .optional-consents legend { font-weight: 600; font-size: .9rem; padding: 0 .3rem; } .legal-list { margin: .75rem 0 1.25rem; padding-inline-start: 1.1rem; } .legal-doc h1 { margin-bottom: .25rem; } .legal-doc p { line-height: 1.7; }

.nav-dd { position: relative; display: inline-block; } .nav-dd > summary { list-style: none; cursor: pointer; } .nav-dd > summary::-webkit-details-marker { display: none; } .nav-dd > summary::after { content: ' ▾'; font-size: .75em; }
.nav-dd-panel { position: absolute; top: 100%; inset-inline-start: 0; z-index: 40; display: flex; flex-direction: column; min-width: 200px; padding: .4rem; background: #fff; border: 1px solid #e6ddd3; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.nav-dd-panel a { padding: .45rem .6rem; border-radius: 6px; } .footer-note { font-size: .85rem; opacity: .85; padding-bottom: 1rem; }
.cms-body h2 { margin-top: 1.6em; } .cms-body img { max-width: 100%; height: auto; border-radius: 10px; } .cms-body table { width: 100%; border-collapse: collapse; } .cms-body td, .cms-body th { border: 1px solid #e6ddd3; padding: .5rem; }
.preview-bar { background: #fdf3dc; border-bottom: 1px solid #f0d9a6; padding: .6rem 1rem; text-align: center; font-weight: 600; }

/* Final search form alignment fix */
.search-grid {
    align-items: end !important;
}

.search-grid .field {
    margin: 0 !important;
}

.search-grid .btn {
    align-self: end !important;
    min-width: 150px;
}







