@font-face {
  font-family: "Noto Nastaliq Urdu";
  src: url("assets/NotoNastaliqUrdu-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12243a;
  --green: #0b2a4a;
  --green-deep: #071c33;
  --green-soft: #e4edf6;
  --ivory: #f4f7fb;
  --paper: #ffffff;
  --gold: #d4a334;
  --gold-soft: #f8e5b5;
  --line: #d5dde8;
  --muted: #5d6b7a;
  --danger: #b7412e;
  --shadow: 0 24px 60px rgba(7, 28, 51, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.urdu, html[lang="ur"] body { font-family: "Noto Nastaliq Urdu", serif; }
.urdu { line-height: 2; }
.shell { min-height: 100svh; }
.topbar {
  position: sticky;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 92px;
  margin-bottom: -92px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.17);
  background: #0b2a4a;
  box-shadow: 0 12px 36px rgba(7, 22, 42, .18);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.topbar.is-scrolled { border-color: rgba(255,255,255,.22); background: #071c33; box-shadow: 0 12px 30px rgba(7,22,42,.28); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; letter-spacing: -0.02em; }
.brand picture { display: block; flex: none; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; background: #000; }
.brand span { max-width: 235px; font-size: 0.86rem; line-height: 1.15; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.88rem; font-weight: 650; }
.nav a { padding: 8px 0 7px; opacity: 0.94; border-bottom: 1px solid transparent; transition: opacity 180ms ease, color 180ms ease, border-color 180ms ease; }
.nav a:hover { opacity: 0.7; }
.nav a.is-active { color: #f6d981; border-color: currentColor; }
.nav-tools { display: flex; align-items: center; gap: 11px; }
.language-toggle {
  min-width: 46px;
  padding: 8px 11px;
  color: white;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 750;
}
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 38px; padding: 7px 10px; color: inherit; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .78rem; font-weight: 760; }
.menu-toggle span { font-size: 1rem; line-height: 1; }
.menu-scrim { position: fixed; z-index: 30; inset: 0; width: 100%; padding: 0; border: 0; background: rgba(7,28,51,.45); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.menu-scrim.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu { position: fixed; z-index: 31; top: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; width: min(360px, calc(100vw - 24px)); padding: 20px; color: var(--ink); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 28px 80px rgba(7,22,42,.28); backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15); transform: translateX(calc(100% + 28px)); transition: transform 260ms cubic-bezier(.2,.8,.2,1); }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.mobile-menu-label { color: #8c6715; font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.menu-close { display: grid; width: 38px; height: 38px; place-items: center; padding: 0; color: var(--green); border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.55rem; line-height: 1; }
.mobile-menu-links { display: grid; gap: 2px; margin-top: 22px; }
.mobile-menu-links a { padding: 13px 0; color: var(--green); border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 760; }
.mobile-menu-foot { margin-top: auto; padding-top: 20px; color: var(--muted); font-size: .86rem; line-height: 1.7; }
html[dir="rtl"] .mobile-menu { right: auto; left: 12px; transform: translateX(calc(-100% - 28px)); }
html[dir="rtl"] .mobile-menu.is-open { transform: translateX(0); }
body.menu-open { overflow: hidden; }

.inner-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 48px)); min-height: 92px; margin: auto; color: var(--green); isolation: isolate; }
.inner-header::before { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; content: ""; border-bottom: 1px solid rgba(18,36,58,.1); background: rgba(244,247,251,.93); box-shadow: 0 8px 22px rgba(18,36,58,.05); transform: translateX(-50%); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); }
.inner-header .nav { margin-left: auto; margin-right: 38px; }
.inner-header .language-toggle { color: var(--green); border-color: rgba(11,42,74,.55); }
.inner-header .menu-toggle { color: var(--green); border-color: rgba(11,42,74,.4); background: rgba(11,42,74,.04); }
.inner-header .nav a.is-active { color: #8c6715; }

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: var(--green-deep);
  background: #fff;
}
.hero-media { position: relative; z-index: 0; display: block; width: 100%; height: auto; padding-top: 92px; background: #fff; }
.hero-media img { width: 100%; height: auto; object-fit: contain; object-position: center top; }
.hero::after { display: none; }
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 64px;
  animation: lift-in 700ms ease-out both;
}
.eyebrow { margin: 0 0 13px; color: #8c6715; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 0.98; letter-spacing: -0.065em; }
.hero .urdu.hero-title { max-width: 900px; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.4; letter-spacing: 0; }
.hero-summary { max-width: 640px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .button-quiet { color: var(--green-deep); border-color: rgba(11,42,74,.35); background: transparent; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--green-deep); background: var(--gold-soft); }
.button-quiet { color: white; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.05); }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 112px 0; }
.section-label { display: block; margin-bottom: 12px; color: #8c6715; font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.03; letter-spacing: -.055em; }
.section h2.urdu { line-height: 1.55; letter-spacing: 0; }
.section-intro { max-width: 630px; margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }

.pledge { background: var(--green-soft); }
.pledge-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(350px, 1.1fr); gap: 72px; align-items: center; }
.pledge-copy { padding-left: 18px; border-left: 2px solid var(--gold); }
.pledge-copy p { margin: 18px 0 0; color: var(--muted); line-height: 1.75; }
.pledge-points { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.pledge-points li { padding: 0 0 20px; border-bottom: 1px solid rgba(18,36,58,.18); font-size: 1.04rem; font-weight: 670; }
.pledge-points li:last-child { padding-bottom: 0; border-bottom: 0; }
.pledge-points span { display: block; margin-top: 5px; color: var(--muted); font-size: .92rem; font-weight: 400; line-height: 1.55; }

.panel-section { background: var(--paper); }
.panel-lead { display: block; }
.panel-posters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.panel-image { overflow: hidden; background: #e4ebf3; border: 1px solid #d2c59f; }
.panel-image img { width: 100%; height: 100%; object-fit: contain; background: #f4f7fb; transition: transform 600ms ease; }
.panel-image:hover img { transform: scale(1.018); }
.panel-aside { max-width: 690px; margin: 46px auto 0; text-align: center; }
.panel-aside p { margin: 20px 0 0; color: var(--muted); line-height: 1.75; }
.candidate-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; margin-top: 82px; border-top: 1px solid var(--line); }
.candidate { display: grid; grid-template-columns: minmax(135px, .7fr) minmax(0, 1.3fr); gap: 22px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.candidate-meta { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: start; }
.candidate-photo { width: 58px; height: 58px; object-fit: cover; border: 2px solid #efe1b8; border-radius: 50%; background: var(--green-soft); }
.candidate-photo.initials { display: grid; place-items: center; color: var(--green-deep); font-size: .78rem; font-weight: 850; letter-spacing: .04em; }
.candidate-role { margin: 0; color: #8c6715; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.candidate-name { margin: 5px 0 0; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.025em; }
.candidate-description { max-width: 620px; margin: 0; color: #46586a; font-size: .94rem; line-height: 1.7; }

.lookup-section { position: relative; color: white; background: var(--green-deep); scroll-margin-top: 16px; }
.lookup-section::before { position: absolute; inset: 0 0 auto; height: 4px; content: ""; background: var(--gold); }
.lookup-layout { display: grid; grid-template-columns: minmax(0, .74fr) minmax(440px, 1.26fr); gap: 88px; align-items: center; }
.lookup-section .section { padding: 90px 0 96px; }
.lookup-section .section-label { color: #f6d981; }
.lookup-section h2 { max-width: 560px; font-size: clamp(2.3rem, 4.7vw, 4.35rem); }
.lookup-section p { max-width: 520px; color: rgba(255,255,255,.75); line-height: 1.75; }
.lookup-form { display: grid; gap: 12px; padding: 10px 0 10px 34px; border-left: 1px solid rgba(246,217,129,.65); }
.lookup-form label { color: rgba(255,255,255,.8); font-size: .84rem; font-weight: 700; }
.lookup-tools { display: grid; gap: 22px; }
.lookup-control { display: flex; gap: 0; border-bottom: 2px solid var(--gold); background: var(--paper); }
.lookup-control input { min-width: 0; flex: 1; padding: 18px 18px; color: var(--ink); border: 0; outline: 0; background: transparent; }
.lookup-control input::placeholder { color: #7a8796; }
.lookup-control button { min-width: 114px; padding: 11px 17px; color: var(--green-deep); border: 0; background: var(--gold-soft); font-weight: 850; }
.search-hint { margin: 1px 0 0; color: rgba(255,255,255,.65); font-size: .78rem; line-height: 1.55; }
.plot-lookup { padding: 18px 0 0 34px; border-top: 1px solid rgba(246,217,129,.34); }
.plot-lookup summary { color: #f6d981; cursor: pointer; font-size: .84rem; font-weight: 830; list-style: none; }
.plot-lookup summary::-webkit-details-marker { display: none; }
.plot-lookup summary::after { display: inline-block; margin-left: 9px; content: "+"; font-size: 1.05rem; line-height: 0; }
.plot-lookup[open] summary::after { content: "−"; }
.plot-lookup > p { max-width: 620px; margin: 13px 0 0; color: rgba(255,255,255,.72); font-size: .8rem; line-height: 1.6; }
.plot-lookup form { display: grid; gap: 13px; margin-top: 16px; }
.plot-lookup-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .44fr); gap: 12px; }
.plot-lookup label { display: grid; gap: 7px; color: rgba(255,255,255,.75); font-size: .72rem; font-weight: 760; }
.plot-lookup input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; color: var(--ink); border: 0; outline: 0; background: var(--paper); font: inherit; }
.plot-lookup button { width: fit-content; min-height: 42px; padding: 10px 16px; color: var(--green-deep); border: 0; background: var(--gold-soft); font: inherit; font-size: .82rem; font-weight: 850; }
.plot-lookup small { color: rgba(255,255,255,.6); font-size: .72rem; line-height: 1.5; }
.form-message { min-height: 24px; margin: 0; color: #f6d981; font-size: .85rem; line-height: 1.55; }
.form-message.error { color: #ffd0c7; }

.text-action { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding-bottom: 5px; color: var(--green); border-bottom: 1px solid var(--gold); font-size: .88rem; font-weight: 820; transition: color 160ms ease, border-color 160ms ease; }
.text-action:hover { color: #8c6715; border-color: currentColor; }
.guide-preview { background: var(--paper); }
.guide-preview-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(390px, 1.12fr); gap: 88px; align-items: end; }
.guide-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-facts > div { min-width: 0; padding: 21px 20px 24px 0; }
.guide-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.guide-facts dt, .guide-hero-facts dt { color: #8c6715; font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.guide-facts dd, .guide-hero-facts dd { margin: 8px 0 0; color: var(--ink); font-size: .98rem; font-weight: 760; line-height: 1.35; }

.announcements { background: #e8eef6; }
.announcements-layout { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: 88px; align-items: start; }
.notice-list { border-top: 1px solid var(--line); }
.notice { position: relative; display: block; padding: 21px 42px 22px 0; border-bottom: 1px solid var(--line); transition: color 180ms ease, padding 180ms ease; }
.notice:hover { padding-right: 48px; color: #735512; }
.notice-meta { display: flex; justify-content: space-between; gap: 18px; color: #8c6715; font-size: .7rem; font-weight: 830; letter-spacing: .1em; text-transform: uppercase; }
.notice-meta time { color: var(--muted); font-weight: 720; letter-spacing: .04em; }
.notice h3 { margin: 10px 0 0; font-size: 1.24rem; line-height: 1.25; letter-spacing: -.03em; }
.notice p { max-width: 620px; margin: 8px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.notice-action { position: absolute; top: 50%; right: 4px; color: #8c6715; font-size: 1.45rem; transform: translateY(-50%); }
.updates-list-section { padding: 46px 0 96px; background: var(--ivory); }
.updates-list-section .notice { padding-top: 25px; padding-bottom: 26px; }
.update-story { padding: 82px 0 96px; background: var(--ivory); }
.update-story .information-back { margin-bottom: 55px; }
.update-story-meta { display: flex; align-items: center; gap: 15px; color: #8c6715; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.update-story-meta time { color: var(--muted); font-weight: 720; letter-spacing: .04em; }
.update-story h1 { max-width: 820px; margin: 18px 0 0; color: var(--green-deep); font-size: clamp(2.65rem, 5.5vw, 5.25rem); line-height: 1; letter-spacing: -.065em; }
.update-story h1.urdu { line-height: 1.5; letter-spacing: 0; }
.update-story-lead { max-width: 690px; margin: 24px 0 0; color: #536274; font-size: 1.15rem; line-height: 1.7; }
.update-story-body { max-width: 740px; margin-top: 42px; padding-top: 31px; border-top: 1px solid var(--line); }
.update-story-body p { margin: 0; color: var(--ink); font-size: 1.04rem; line-height: 1.85; }

.information-shell { min-height: 100svh; background: var(--ivory); }
.information-hero { padding: 86px 0 92px; color: white; background: var(--green-deep); }
.information-width { width: min(900px, calc(100% - 48px)); margin: auto; }
.information-back { margin-bottom: 48px; color: rgba(255,255,255,.78); border-color: rgba(246,217,129,.75); }
.information-back:hover { color: #f6d981; }
.information-hero .section-label { color: #f6d981; }
.information-hero h1 { max-width: 740px; margin: 0; color: white; font-size: clamp(2.85rem, 6vw, 5.15rem); line-height: 1; letter-spacing: -.065em; }
.information-hero h1.urdu { line-height: 1.5; letter-spacing: 0; }
.information-hero p { max-width: 680px; margin: 22px 0 0; color: rgba(255,255,255,.8); font-size: 1.06rem; line-height: 1.75; }
.information-body { padding: 26px 0 84px; }
.information-sections { border-top: 1px solid var(--line); }
.information-section { display: grid; grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr); gap: 64px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.information-section h2 { margin: 0; color: var(--green); font-size: 1.25rem; line-height: 1.25; letter-spacing: -.025em; }
.information-section p { max-width: 600px; margin: 0; color: var(--muted); line-height: 1.75; }

.bank-section { background: #e8eef5; }
.bank-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(420px, 1.16fr); gap: 76px; align-items: center; }
.bank-copy .section-intro { max-width: 560px; }
.bank-details { max-width: 590px; margin: 34px 0 0; border-top: 1px solid rgba(18,36,58,.24); }
.bank-details > div { display: grid; grid-template-columns: minmax(128px, .56fr) minmax(0, 1.44fr); gap: 18px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(18,36,58,.18); }
.bank-details dt { color: #5d6b7a; font-size: .7rem; font-weight: 830; letter-spacing: .09em; text-transform: uppercase; }
.bank-details dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; color: var(--green-deep); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; font-weight: 760; overflow-wrap: anywhere; }
.bank-details dd span { min-width: 0; }
.copy-button { flex: none; padding: 4px 0; color: #8c6715; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: .7rem; font-weight: 850; }
.bank-guide-link { margin-top: 24px; }
.bank-poster { display: block; width: 100%; overflow: hidden; background: var(--paper); box-shadow: 0 20px 44px rgba(18,36,58,.11); }
.bank-poster img { width: 100%; height: auto; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.contact h2 { max-width: 540px; }
.contact-links { display: grid; min-width: 288px; gap: 0; }
.contact-line { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color 160ms ease, border-color 160ms ease; }
.contact-line:first-child { border-top: 1px solid var(--line); }
.contact-line span { color: var(--muted); font-size: .72rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.contact-line strong { color: var(--green); font-size: 1.05rem; letter-spacing: -.02em; text-align: right; }
.contact-line:hover { color: #8c6715; border-color: var(--gold); }
.footer { color: rgba(255,255,255,.78); background: var(--green-deep); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(160px, .55fr) minmax(180px, .65fr); gap: 48px; width: min(1180px, calc(100% - 48px)); margin: auto; padding: 60px 0 48px; }
.footer-brand .brand { color: white; }
.footer-brand p { margin: 18px 0 0; color: #f6d981; font-size: 1.02rem; font-weight: 720; }
.footer-brand small { display: block; max-width: 460px; margin-top: 13px; color: rgba(255,255,255,.64); font-size: .82rem; line-height: 1.6; }
.footer-group { display: grid; align-content: start; gap: 10px; }
.footer-group h2 { margin: 0 0 7px; color: #f6d981; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-group a { width: fit-content; color: rgba(255,255,255,.78); font-size: .88rem; line-height: 1.5; transition: color 160ms ease; }
.footer-group a:hover { color: #f6d981; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1180px, calc(100% - 48px)); margin: auto; padding: 20px 0 28px; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.16); font-size: .78rem; }
.footer-credits { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; color: rgba(255,255,255,.55); }
.footer-credit { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.62); font-weight: 650; text-decoration: none; transition: color 160ms ease; }
.footer-credit:hover { color: #f6d981; }
.footer-credit-sep { opacity: .45; }

.guide-shell { min-height: 100svh; background: var(--ivory); }
.guide-header { min-height: 92px; }
.guide-header .language-toggle { color: var(--green); border-color: rgba(11,42,74,.55); }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); min-height: 440px; color: white; background: var(--green-deep); }
.guide-hero-copy { align-self: center; width: 100%; margin: 0; padding: 84px 32px 84px max(24px, calc((100vw - 1180px) / 2)); }
.guide-back { margin-bottom: 54px; color: rgba(255,255,255,.78); border-color: rgba(246,217,129,.75); }
.guide-back:hover { color: #f6d981; }
.guide-hero .section-label { color: #f6d981; }
.guide-hero h1 { max-width: 650px; margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.07em; }
.guide-hero h1.urdu { font-size: clamp(2.3rem, 4.7vw, 4.5rem); line-height: 1.45; letter-spacing: 0; }
.guide-hero p { max-width: 560px; margin: 21px 0 0; color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.7; }
.guide-hero-facts { display: grid; align-content: center; gap: 0; margin: 0; padding: 0 max(24px, calc((100vw - 1180px) / 2)) 0 58px; background: #0b2a4a; }
.guide-hero-facts > div { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.guide-hero-facts > div:first-child { border-top: 1px solid rgba(255,255,255,.18); }
.guide-hero-facts dt { color: #f6d981; }
.guide-hero-facts dd { color: white; font-size: 1.12rem; }
.guide-page-width { width: min(1080px, calc(100% - 48px)); margin: auto; }
.guide-checklist { background: var(--paper); }
.guide-checklist-layout { display: grid; grid-template-columns: minmax(210px, .6fr) minmax(0, 1.4fr); gap: 84px; align-items: center; padding-top: 68px; padding-bottom: 68px; }
.guide-checklist h2, .guide-faq > .guide-page-width > h2 { max-width: 630px; margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.03; letter-spacing: -.055em; }
.guide-checklist h2.urdu, .guide-faq > .guide-page-width > h2.urdu { line-height: 1.55; letter-spacing: 0; }
.guide-checklist-items { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide-checklist-items li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 670; line-height: 1.5; }
.guide-checklist-items li > span { color: #8c6715; font-size: .76rem; font-weight: 850; letter-spacing: .08em; }
.guide-faq { padding: 104px 0; background: var(--ivory); }
.guide-groups { margin-top: 62px; border-top: 1px solid var(--line); }
.guide-group { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: 70px; padding: 38px 0 40px; border-bottom: 1px solid var(--line); }
.guide-group-heading > span { display: block; color: #8c6715; font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.guide-group-heading h3 { max-width: 300px; margin: 10px 0 0; color: var(--ink); font-size: 1.35rem; letter-spacing: -.035em; line-height: 1.18; }
.guide-group-heading.urdu h3 { font-size: 1.55rem; line-height: 1.8; letter-spacing: 0; }
.guide-questions { border-top: 1px solid rgba(18,36,58,.16); }
.guide-questions details { border-bottom: 1px solid rgba(18,36,58,.16); }
.guide-questions summary { position: relative; padding: 17px 34px 17px 0; color: var(--green); cursor: pointer; font-size: .98rem; font-weight: 760; line-height: 1.45; list-style: none; }
.guide-questions summary::-webkit-details-marker { display: none; }
.guide-questions summary::after { position: absolute; top: 16px; right: 2px; content: "+"; color: #8c6715; font-size: 1.25rem; font-weight: 450; transition: transform 160ms ease; }
.guide-questions details[open] summary::after { transform: rotate(45deg); }
.guide-answer { padding: 0 0 21px; }
.guide-answer p { margin: 0; color: #536274; font-size: .94rem; line-height: 1.72; }
.guide-disclaimer { padding: 64px 0 76px; color: white; background: var(--green); }
.guide-disclaimer .section-label { color: #f6d981; }
.guide-disclaimer p { max-width: 710px; margin: 0; color: rgba(255,255,255,.84); line-height: 1.75; }
.guide-disclaimer .text-action { color: white; border-color: #f6d981; }
.guide-disclaimer .text-action:hover { color: #f6d981; }

.results-page { min-height: 100svh; background: var(--ivory); }
.results-header { display: flex; justify-content: space-between; align-items: center; width: min(1080px, calc(100% - 48px)); margin: auto; min-height: 92px; }
.results-header .brand { color: var(--green); }
.results-header .language-toggle { color: var(--green); border-color: var(--green); }
.results-wrap { width: min(1080px, calc(100% - 48px)); margin: auto; padding: 62px 0 96px; }
.back-link { display: inline-flex; gap: 9px; align-items: center; color: #6c514f; font-size: .88rem; font-weight: 760; }
.results-title { margin: 18px 0 0; font-size: clamp(2rem, 4.4vw, 3.8rem); letter-spacing: -.06em; line-height: 1; }
.results-title.urdu { line-height: 1.5; letter-spacing: 0; }
.results-subtitle { max-width: 690px; margin: 16px 0 0; color: var(--muted); line-height: 1.7; }
.result-search { max-width: 690px; margin-top: 27px; padding-top: 17px; border-top: 1px solid var(--line); }
.result-search > label { display: block; margin-bottom: 9px; color: var(--green); font-size: .8rem; font-weight: 830; letter-spacing: .045em; }
.result-search-control { display: flex; gap: 0; border: 1px solid rgba(11,42,74,.27); background: var(--paper); box-shadow: 0 8px 18px rgba(18,36,58,.05); }
.result-search-control input { min-width: 0; flex: 1; padding: 13px 14px; color: var(--ink); border: 0; outline: 0; background: transparent; }
.result-search-control button { min-width: 108px; padding: 10px 16px; color: var(--green-deep); border: 0; border-left: 1px solid rgba(11,42,74,.18); background: var(--gold-soft); font-size: .84rem; font-weight: 850; }
.result-search-hint, .result-search-message { margin: 7px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.result-search-message { min-height: 18px; color: var(--danger); }
.results-warning { margin: 32px 0 0; padding: 15px 18px; color: #6b4f08; border-left: 3px solid var(--gold); background: var(--gold-soft); font-size: .9rem; line-height: 1.6; }
.results-list { margin-top: 36px; border-top: 1px solid var(--line); }
.result { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.result-serial { color: #8c6715; font-size: .8rem; font-weight: 800; padding-top: 7px; }
.identity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.result-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .72rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.result-name { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.5rem); letter-spacing: -.03em; line-height: 1.25; }
mark { padding: 0 .11em; color: inherit; background: var(--gold-soft); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.profile-link { display: inline-block; margin-top: 22px; padding-bottom: 4px; color: var(--green); border-bottom: 1px solid var(--gold); font-size: .84rem; font-weight: 800; transition: color 160ms ease, border-color 160ms ease; }
.profile-link:hover { color: #8c6715; border-color: currentColor; }
.profile-card-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 12px 15px; color: var(--green-deep); border: 1px solid rgba(11,42,74,.28); background: var(--paper); font-size: .85rem; font-weight: 830; transition: color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.profile-card-link:hover { color: #8c6715; border-color: var(--gold); transform: translateY(-1px); }
.profile-record { margin-top: 40px; border-top: 1px solid var(--line); }
.profile-identity { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .48fr); gap: 36px 52px; padding: 34px 0 38px; }
.profile-entry { display: flex; grid-column: 1 / -1; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.profile-entry span, .profile-name-field > span, .profile-cnic > span, .profile-field dt { color: var(--muted); font-size: .7rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.profile-entry strong { color: #8c6715; font-size: .84rem; letter-spacing: .08em; }
.profile-name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.profile-name-field h2 { margin: 7px 0 0; color: var(--ink); font-size: clamp(1.3rem, 2.35vw, 1.85rem); letter-spacing: -.035em; line-height: 1.15; text-align: left; }
.profile-cnic { align-self: end; padding: 20px 0 2px 26px; border-left: 2px solid var(--gold); }
.profile-cnic > span, .profile-cnic small { display: block; }
.profile-cnic strong { display: block; margin-top: 7px; color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(1.2rem, 2vw, 1.55rem); font-variant-numeric: tabular-nums; letter-spacing: .035em; line-height: 1.2; white-space: nowrap; }
.profile-cnic small { margin-top: 9px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.profile-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.profile-group { min-width: 0; padding: 29px 28px 36px 0; }
.profile-group + .profile-group { padding-left: 28px; border-left: 1px solid var(--line); }
.profile-group h2 { margin: 0; color: #8c6715; font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.profile-group h2.urdu { font-size: 1rem; letter-spacing: 0; }
.profile-fields { display: grid; gap: 19px; margin: 24px 0 0; }
.profile-field { min-width: 0; }
.profile-field dd { margin: 6px 0 0; color: var(--ink); font-size: .98rem; font-weight: 620; line-height: 1.55; overflow-wrap: anywhere; }
.empty-state { margin-top: 34px; padding: 28px 0; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); line-height: 1.7; }
.loading { display: flex; align-items: center; min-height: 55svh; color: var(--muted); }

.card-page-wrap { padding-top: 52px; }
.card-page-title { margin-top: 18px; }
.voter-card { position: relative; margin-top: 39px; overflow: hidden; color: var(--ink); border: 1px solid rgba(11,42,74,.22); background: var(--paper); box-shadow: 0 24px 55px rgba(7,28,51,.15); }
.voter-card::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; content: ""; background: var(--gold); }
.voter-card-head { padding: 21px 28px 19px 32px; color: white; border-bottom: 5px solid var(--gold); background: var(--green-deep); }
.voter-card-brand { display: flex; gap: 16px; align-items: center; }
.voter-card-brand > img { width: 61px; height: 61px; object-fit: cover; border-radius: 50%; background: #000; }
.voter-card-brand span, .voter-card-brand small { display: block; color: rgba(255,255,255,.76); font-size: .67rem; font-weight: 720; letter-spacing: .065em; text-transform: uppercase; }
.voter-card-brand strong { display: block; margin-top: 3px; color: #f6d981; font-size: 1rem; letter-spacing: -.015em; }
.voter-card-brand small { margin-top: 4px; color: rgba(255,255,255,.58); font-size: .6rem; }
.voter-card-body { display: grid; grid-template-columns: minmax(0, 1fr) 184px; gap: 28px; padding: 27px 29px 25px 32px; }
.voter-card-main { min-width: 0; }
.voter-card-person { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.voter-card-person > span, .voter-card-details h3, .voter-card-details dt { color: var(--muted); font-size: .66rem; font-weight: 840; letter-spacing: .1em; text-transform: uppercase; }
.voter-card-person h2 { margin: 7px 0 0; color: var(--green-deep); font-size: clamp(1.55rem, 3vw, 2.18rem); letter-spacing: -.045em; line-height: 1.1; }
.voter-card-person p { margin: 8px 0 0; color: #536274; font-size: .87rem; font-weight: 650; }
.voter-card-details { margin-top: 19px; }
.voter-card-details h3 { margin: 0 0 12px; color: #8c6715; }
.voter-card-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 0; border-top: 1px solid var(--line); }
.voter-card-details dl > div { min-width: 0; padding: 9px 0 10px; border-bottom: 1px solid var(--line); }
.voter-card-details dd { margin: 4px 0 0; color: var(--ink); font-size: .86rem; font-weight: 690; line-height: 1.35; overflow-wrap: anywhere; }
.voter-card-verify { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 15px 0 10px 23px; border-left: 1px solid var(--line); text-align: center; }
.voter-card-qr { width: 132px; padding: 7px; background: white; border: 1px solid var(--line); }
.voter-card-qr svg { display: block; width: 100%; height: auto; }
.voter-card-verify p { margin: 11px 0 0; color: #5d6b7a; font-size: .72rem; font-weight: 730; line-height: 1.4; }
.voter-card-verify-link { margin-top: 9px; color: #8c6715; border-bottom: 1px solid currentColor; font-size: .69rem; font-weight: 800; }
.voter-card-foot { padding: 11px 32px; color: rgba(255,255,255,.76); background: var(--green); font-size: .68rem; line-height: 1.5; }
.card-actions { display: flex; flex-wrap: wrap; gap: 11px 12px; align-items: center; margin-top: 22px; }
.card-actions .button { min-width: auto; }
.card-download-link { color: white !important; border-color: var(--green-deep); background: var(--green-deep); }
.card-download-link:hover { color: white !important; border-color: var(--green); background: var(--green); }
.card-share-link { color: var(--green-deep) !important; border-color: rgba(11,42,74,.24); background: var(--gold-soft); }
.card-share-link:hover { color: var(--green-deep) !important; border-color: var(--gold); background: #f6d981; }
.card-copy-link { padding: 9px 0; color: #8c6715; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: .79rem; font-weight: 830; }
.card-action-status { flex-basis: 100%; min-height: 18px; margin: 0; color: #5d6b7a; font-size: .76rem; }
.card-print-note { margin: 12px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.card-verification-banner { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; align-items: center; margin-top: 28px; padding: 15px 18px; color: var(--green-deep); border-left: 4px solid #1a6bb5; background: #dceaf7; }
.card-verification-seal { display: grid; width: 38px; height: 38px; place-items: center; color: white; border-radius: 50%; background: #1a6bb5; font-size: 1.3rem; font-weight: 900; }
.card-verification-banner span:not(.card-verification-seal) { display: block; color: #155a96; font-size: .67rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.card-verification-banner strong { display: block; margin-top: 2px; font-size: .98rem; letter-spacing: -.015em; }
.card-verification-banner p { margin: 3px 0 0; color: #3d5a72; font-size: .78rem; line-height: 1.45; }
.verification-result { display: flex; gap: 20px; align-items: center; margin-top: 42px; padding: 27px 30px; color: var(--green-deep); border-top: 4px solid #1a6bb5; background: #dceaf7; }
.verification-seal { display: grid; flex: none; width: 48px; height: 48px; place-items: center; color: white; border-radius: 50%; background: #1a6bb5; font-size: 1.7rem; font-weight: 900; }
.verification-result span, .verification-record > h2 { color: #155a96; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.verification-result h1 { margin: 6px 0 0; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.1; letter-spacing: -.04em; }
.verification-result p { max-width: 700px; margin: 9px 0 0; color: #3d5a72; font-size: .9rem; line-height: 1.55; }
.verification-record { padding: 35px 0 8px; }
.verification-record > h2 { margin: 0 0 18px; }
.verification-record dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.verification-record dl > div { min-width: 0; padding: 17px 18px 18px 0; border-bottom: 1px solid var(--line); }
.verification-record dl > div:nth-child(3n + 2), .verification-record dl > div:nth-child(3n + 3) { padding-left: 18px; border-left: 1px solid var(--line); }
.verification-record dt { color: var(--muted); font-size: .68rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.verification-record dd { margin: 6px 0 0; color: var(--ink); font-size: .94rem; font-weight: 680; line-height: 1.45; overflow-wrap: anywhere; }
.verification-record .button { margin-top: 26px; }

html[dir="rtl"] .topbar, html[dir="rtl"] .hero-copy, html[dir="rtl"] .section, html[dir="rtl"] .results-wrap, html[dir="rtl"] .results-header, html[dir="rtl"] .footer { text-align: right; }
html[dir="rtl"] .pledge-copy { padding-right: 18px; padding-left: 0; border-right: 2px solid var(--gold); border-left: 0; }
html[dir="rtl"] .inner-header .nav { margin-right: auto; margin-left: 38px; }
html[dir="rtl"] .results-warning { border-right: 3px solid var(--gold); border-left: 0; }
html[dir="rtl"] .lookup-form { padding-right: 34px; padding-left: 0; border-right: 1px solid rgba(246,217,129,.65); border-left: 0; }
html[dir="rtl"] .plot-lookup { padding-right: 34px; padding-left: 0; }
html[dir="rtl"] .plot-lookup summary::after { margin-right: 9px; margin-left: 0; }
html[dir="rtl"] .contact-line strong { text-align: left; }
html[dir="rtl"] .guide-nav { margin-right: auto; margin-left: 42px; }
html[dir="rtl"] .guide-preview-layout, html[dir="rtl"] .bank-layout, html[dir="rtl"] .guide-checklist-layout, html[dir="rtl"] .guide-group { text-align: right; }
html[dir="rtl"] .guide-facts > div { padding-right: 0; padding-left: 20px; }
html[dir="rtl"] .guide-facts > div + div { padding-right: 20px; padding-left: 0; border-right: 1px solid var(--line); border-left: 0; }
html[dir="rtl"] .guide-hero-copy { padding-right: max(24px, calc((100vw - 1180px) / 2)); padding-left: 32px; }
html[dir="rtl"] .guide-hero-facts { padding-right: 58px; padding-left: max(24px, calc((100vw - 1180px) / 2)); }
html[dir="rtl"] .guide-questions summary { padding-right: 0; padding-left: 34px; }
html[dir="rtl"] .guide-questions summary::after { right: auto; left: 2px; }
html[dir="rtl"] .profile-cnic { padding-right: 26px; padding-left: 0; border-right: 2px solid var(--gold); border-left: 0; text-align: left; }
html[dir="rtl"] .profile-group { padding-right: 0; padding-left: 28px; }
html[dir="rtl"] .profile-group + .profile-group { padding-right: 28px; padding-left: 0; border-right: 1px solid var(--line); border-left: 0; }
html[dir="rtl"] .lookup-control input { direction: ltr; text-align: left; }
html[dir="rtl"] .notice { padding-right: 0; padding-left: 42px; }
html[dir="rtl"] .notice:hover { padding-right: 0; padding-left: 48px; }
html[dir="rtl"] .notice-action { right: auto; left: 4px; }
html[dir="rtl"] .information-hero, html[dir="rtl"] .information-body, html[dir="rtl"] .footer-inner, html[dir="rtl"] .footer-bottom { text-align: right; }
html[dir="rtl"] .voter-card::before { right: 0; left: auto; }
html[dir="rtl"] .voter-card-head { padding-right: 32px; padding-left: 28px; }
html[dir="rtl"] .voter-card-body { padding-right: 32px; padding-left: 29px; }
html[dir="rtl"] .voter-card-verify { padding-right: 23px; padding-left: 0; border-right: 1px solid var(--line); border-left: 0; }
html[dir="rtl"] .voter-card-foot { padding-right: 32px; padding-left: 32px; }
html[dir="rtl"] .card-verification-banner { border-right: 4px solid #1a6bb5; border-left: 0; }
html[dir="rtl"] .verification-record dl > div { padding-right: 0; padding-left: 18px; }
html[dir="rtl"] .verification-record dl > div:nth-child(3n + 2), html[dir="rtl"] .verification-record dl > div:nth-child(3n + 3) { padding-right: 18px; padding-left: 0; border-right: 1px solid var(--line); border-left: 0; }

@keyframes lift-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 780px) {
  .topbar, .section, .results-wrap, .results-header, .guide-header, .inner-header { width: min(100% - 32px, 1180px); }
  .topbar { position: sticky; width: 100%; height: 75px; margin-bottom: -75px; padding: 0 16px; background: #0b2a4a; }
  .guide-header { min-height: 75px; }
  .brand img { width: 45px; height: 45px; }
  .brand span { max-width: 150px; font-size: .7rem; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: #fff; }
  .hero-media { position: relative; width: 100%; height: auto; aspect-ratio: auto; padding-top: 75px; }
  .hero::after { display: none; }
  .hero-copy { width: 100%; margin: 0; padding: 32px 16px 48px; background: #fff; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .hero .urdu.hero-title { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .section { padding: 76px 0; }
  .pledge-grid, .lookup-layout, .guide-preview-layout, .announcements-layout, .bank-layout, .guide-checklist-layout, .guide-group { grid-template-columns: 1fr; gap: 42px; }
  .panel-posters { grid-template-columns: 1fr; gap: 12px; }
  .panel-aside { margin-top: 34px; text-align: left; }
  html[dir="rtl"] .panel-aside { text-align: right; }
  .candidate-list { grid-template-columns: 1fr; margin-top: 56px; }
  .candidate { grid-template-columns: minmax(116px, .65fr) minmax(0, 1.35fr); gap: 16px; }
  .candidate-meta { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .candidate-photo { width: 52px; height: 52px; }
  .lookup-section .section { padding: 72px 0 76px; }
  .lookup-form { padding: 0; border-left: 0; }
  html[dir="rtl"] .lookup-form { border-right: 0; }
  .plot-lookup { padding-left: 0; }
  html[dir="rtl"] .plot-lookup { padding-right: 0; }
  .plot-lookup-fields { grid-template-columns: 1fr; }
  .lookup-control { flex-direction: column; }
  .lookup-control button { min-height: 46px; }
  .guide-preview-layout { align-items: start; }
  .guide-facts { grid-template-columns: 1fr; }
  .guide-facts > div { padding: 16px 0 18px; }
  .guide-facts > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .bank-layout { align-items: start; }
  .bank-details { margin-top: 28px; }
  .bank-details > div { grid-template-columns: minmax(112px, .65fr) minmax(0, 1.35fr); gap: 14px; }
  .bank-poster { max-width: 520px; }
  .guide-hero { display: block; min-height: 0; }
  .guide-hero-copy { width: 100%; margin: 0; padding: 48px 16px 58px; }
  .guide-back { margin-bottom: 42px; }
  .guide-hero h1 { font-size: clamp(2.9rem, 13vw, 4.4rem); }
  .guide-hero h1.urdu { font-size: clamp(2.15rem, 9vw, 3.15rem); }
  .guide-hero-facts { padding: 0 16px; }
  .guide-hero-facts > div { padding: 17px 0 19px; }
  .guide-page-width { width: min(100% - 32px, 1080px); }
  .guide-checklist-layout { padding-top: 56px; padding-bottom: 56px; }
  .guide-faq { padding: 76px 0; }
  .guide-groups { margin-top: 42px; }
  .guide-group { padding: 32px 0; }
  .guide-group-heading h3 { max-width: none; }
  .guide-questions summary { padding-top: 16px; padding-bottom: 16px; }
  .guide-questions summary::after { top: 15px; }
  .contact { grid-template-columns: 1fr; align-items: start; }
  .contact-links { width: 100%; }
  .identity { grid-template-columns: 1fr; gap: 16px; }
  .result-search-control { flex-direction: column; }
  .result-search-control button { min-height: 44px; border-top: 1px solid rgba(11,42,74,.18); border-left: 0; }
  .profile-identity { grid-template-columns: 1fr; gap: 26px; padding: 28px 0 32px; }
  .profile-entry { padding-bottom: 14px; }
  .profile-name-grid { grid-template-columns: 1fr; gap: 22px; }
  .profile-cnic { padding: 18px 0 0 18px; }
  .profile-groups { grid-template-columns: 1fr; }
  .profile-group { padding: 27px 0 30px; }
  .profile-group + .profile-group { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .profile-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 22px; }
  .card-page-wrap { padding-top: 40px; }
  .voter-card { margin-top: 31px; }
  .voter-card-body { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px 20px 23px; }
  .voter-card-verify { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 17px; align-items: center; justify-items: start; padding: 19px 0 0; border-top: 1px solid var(--line); border-left: 0; text-align: left; }
  .voter-card-qr { grid-row: span 2; width: 112px; }
  .voter-card-verify p { margin: 0; }
  .voter-card-verify-link { margin-top: 2px; }
  .voter-card-foot { padding: 12px 20px 12px 23px; }
  .card-verification-banner { margin-top: 22px; padding: 14px 15px; }
  .verification-result { align-items: flex-start; margin-top: 32px; padding: 22px 20px; }
  .verification-record dl { grid-template-columns: 1fr; }
  .verification-record dl > div, .verification-record dl > div:nth-child(3n + 2), .verification-record dl > div:nth-child(3n + 3) { padding-right: 0; padding-left: 0; border-left: 0; }
  html[dir="rtl"] .voter-card-body { padding-right: 23px; padding-left: 20px; }
  html[dir="rtl"] .voter-card-verify { justify-items: end; padding-right: 0; padding-left: 0; border-right: 0; text-align: right; }
  html[dir="rtl"] .voter-card-foot { padding-right: 23px; padding-left: 20px; }
  html[dir="rtl"] .verification-record dl > div, html[dir="rtl"] .verification-record dl > div:nth-child(3n + 2), html[dir="rtl"] .verification-record dl > div:nth-child(3n + 3) { padding-right: 0; padding-left: 0; border-right: 0; }
  html[dir="rtl"] .profile-cnic { padding-right: 18px; padding-left: 0; }
  html[dir="rtl"] .profile-group { padding-right: 0; padding-left: 0; }
  html[dir="rtl"] .profile-group + .profile-group { padding-right: 0; border-right: 0; }
  html[dir="rtl"] .guide-nav { margin-left: 0; }
  html[dir="rtl"] .guide-facts > div { padding-right: 0; padding-left: 0; }
  html[dir="rtl"] .guide-facts > div + div { padding-right: 0; border-right: 0; }
  html[dir="rtl"] .guide-hero-copy { padding-right: 16px; padding-left: 16px; }
  html[dir="rtl"] .guide-hero-facts { padding-right: 16px; padding-left: 16px; }
  html[dir="rtl"] .notice { padding-right: 0; padding-left: 32px; }
  html[dir="rtl"] .notice:hover { padding-right: 0; padding-left: 32px; }
  .information-hero { padding: 60px 0 66px; }
  .information-width { width: min(100% - 32px, 900px); }
  .information-back { margin-bottom: 36px; }
  .information-hero h1 { font-size: clamp(2.45rem, 11vw, 3.9rem); }
  .information-section { grid-template-columns: 1fr; gap: 13px; padding: 31px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; width: min(100% - 32px, 1180px); padding: 48px 0 38px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; width: min(100% - 32px, 1180px); }
  .update-story { padding: 60px 0 72px; }
  .update-story .information-back { margin-bottom: 42px; }
  .update-story h1 { font-size: clamp(2.35rem, 10vw, 3.7rem); }
}

@media (max-width: 430px) {
  .hero-copy { padding-bottom: 42px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .section h2 { font-size: 2.15rem; }
  .profile-cnic strong { font-size: 1.12rem; }
}

@media (max-width: 560px) {
  .profile-fields { grid-template-columns: 1fr; }
  .notice { padding-right: 32px; }
  .notice-meta { display: grid; gap: 5px; }
  .voter-card-head { padding: 18px 17px 16px 20px; }
  .voter-card-brand { gap: 12px; }
  .voter-card-brand > img { width: 51px; height: 51px; }
  .voter-card-brand strong { font-size: .9rem; }
  .voter-card-details dl { grid-template-columns: 1fr; }
  .voter-card-person h2 { font-size: 1.45rem; }
  .card-actions { display: grid; grid-template-columns: 1fr; }
  .card-actions .button { width: 100%; }
  html[dir="rtl"] .voter-card-head { padding-right: 20px; padding-left: 17px; }
}

@media (max-width: 780px) {
  .no-js .static-topbar { position: relative; height: auto; min-height: 75px; margin-bottom: 0; flex-wrap: wrap; padding-bottom: 10px; }
  .no-js .static-topbar .nav { display: flex; order: 3; width: 100%; gap: 16px; overflow-x: auto; padding: 7px 0 0; white-space: nowrap; }
  .no-js .static-topbar .nav a { flex: none; }
  .no-js .static-inner-header { flex-wrap: wrap; min-height: 75px; padding-bottom: 10px; }
  .no-js .static-inner-header .nav { display: flex; order: 3; width: 100%; gap: 16px; overflow-x: auto; padding: 7px 0 0; white-space: nowrap; }
}

@media print {
  @page { size: landscape; margin: 10mm; }
  body { background: white; }
  .no-print, .results-header, .card-page-title, .card-page-wrap > .results-subtitle { display: none !important; }
  .results-page, .results-wrap, .card-page-wrap { width: auto; min-height: 0; margin: 0; padding: 0; background: white; }
  .voter-card { margin: 0; box-shadow: none; break-inside: avoid; }
  .voter-card-head { padding-top: 14px; padding-bottom: 13px; }
  .voter-card-body { gap: 20px; padding-top: 17px; padding-bottom: 16px; }
  .voter-card-details dl > div { padding-top: 6px; padding-bottom: 7px; }
  .voter-card-qr { width: 116px; }
}
