/* Shared public entry: compact at standard desktop sizes, never clips at zoom. */
.shared-entry {
  --entry-primary: #0f5c78;
  --entry-ink: #12364a;
  --entry-muted: #526d83;
  --entry-line: #d3e2ea;
  position: relative;
  isolation: isolate;
  background: #fff;
  color: var(--entry-ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.shared-landscape { position: absolute; inset-inline: 0; bottom: 40px; width: 100%; height: auto; opacity: .32; z-index: -1; pointer-events: none; }
.shared-entry .government-bar > .site-width { min-height: 29px; }
.shared-entry .header-inner { min-height: 64px; }
.shared-entry .government-mark { width: 41px; height: 47px; object-fit: contain; }
.shared-entry .brand-name { font-size: 27px; }
.shared-entry .brand-tagline { margin-top: 3px; font-size: 10px; }
.shared-entry main { flex: 1; }
.shared-entry .site-width { max-width: 1240px; }
.shared-main { padding-block: 12px 14px; }
.shared-intro { text-align: center; margin-bottom: 12px; }
.shared-eyebrow { color: var(--entry-primary); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin: 0 0 2px; }
.shared-intro h1 { color: #0b3046; font-size: clamp(1.8rem, 2.7vw, 2.5rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 3px; }
.shared-intro > p:last-child { color: var(--entry-muted); font-size: 14px; margin: 0; }
.shared-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: stretch; }
.shared-entry .entry-card, .shared-services { background: #fff; border: 1px solid var(--entry-line); border-radius: 10px; min-width: 0; }
.shared-entry .shared-staff { border-top: 3px solid var(--entry-primary); padding: 20px 24px; display: flex; flex-direction: column; box-shadow: 0 4px 18px #15334408; }
.shared-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.shared-heading h2, .shared-services h2 { color: #0d3046; font-size: 21px; line-height: 1.2; min-height: 0; margin: 0 0 3px; font-weight: 700; }
.shared-heading p, .shared-service-intro { color: var(--entry-muted); font-size: 13px; margin: 0; line-height: 1.4; }
.shared-icon { display: inline-flex; justify-content: center; align-items: center; flex: none; width: 44px; height: 44px; border-radius: 9px; background: #eaf3f7; color: var(--entry-primary); font-size: 23px; }
.shared-authority-icon { background: #fff; border: 1px solid var(--entry-line); }
.shared-authority-icon img { width: 38px; height: 38px; object-fit: contain; }
.shared-entry label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.shared-field { margin-bottom: 12px; }
.shared-input { display: flex; align-items: stretch; min-width: 0; border: 1px solid #bfd4df; border-radius: 7px; background: #f9fbfc; }
.shared-input:focus-within { outline: 3px solid #e5a23c; outline-offset: 2px; }
.shared-input > i { display: flex; align-items: center; justify-content: center; width: 42px; flex: none; color: #456b81; border-inline-end: 1px solid #d3e2ea; }
.shared-input input { min-width: 0; width: 100%; height: 40px; border: 0; background: transparent; color: var(--entry-ink); padding: 7px 11px; font: inherit; font-size: 15px; outline: none; }
.shared-input button { min-width: 42px; border: 0; border-inline-start: 1px solid #d3e2ea; background: transparent; color: var(--entry-primary); cursor: pointer; }
.shared-forgot { text-align: end; font-size: 13px; margin: -4px 0 10px; }
.shared-entry a:not(.shared-primary) { color: var(--entry-primary); }
.shared-entry .shared-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 13px; border: 1px solid #0f5c78; border-radius: 6px; background: #0f5c78; color: #fff; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.shared-entry .shared-primary:hover { background: #0b4a60; color: #fff; }
.shared-staff form .shared-primary { width: 100%; font-size: 15px; }
.shared-staff-other { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--entry-line); margin-top: 14px; padding-top: 12px; font-size: 13px; }
.shared-staff-other span { color: var(--entry-muted); }
.shared-services { padding: 14px 16px; box-shadow: 0 4px 18px #15334408; }
.shared-service-intro { margin-bottom: 8px; }
.shared-service-list { display: grid; gap: 6px; }
.shared-entry .shared-service-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(150px, 190px); align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid #d8e5ec; border-radius: 7px; background: #fff; box-shadow: none; }
.shared-service-row h3 { font-size: 14px; line-height: 1.2; margin: 0 0 2px; color: #12364a; font-weight: 700; }
.shared-service-row p { font-size: 12px; line-height: 1.35; margin: 0; color: var(--entry-muted); }
.shared-actions { display: flex; flex-direction: column; align-items: stretch; gap: 3px; font-size: 11px; line-height: 1.3; }
.shared-actions .shared-primary { min-height: 34px; padding: 5px 8px; font-size: 12px; }
.shared-actions > a:not(.shared-primary) { text-decoration: underline; text-underline-offset: 2px; }
.shared-footer { border-top: 1px solid var(--entry-line); background: #eef5f9; padding-block: 10px; font-size: 12px; }
.shared-footer > .site-width { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.shared-footer span { color: var(--entry-muted); }
.shared-footer a { color: var(--entry-primary); font-weight: 650; text-decoration: none; }
.shared-footer a:hover { text-decoration: underline; }
.shared-entry .d-none, .shared-entry [hidden] { display: none !important; }
.shared-alert { border-radius: 6px; padding: 8px 10px; margin-bottom: 10px; font-size: 13px; background: #edf5fa; }
.shared-alert span { display: block; }
.shared-alert-error { color: #842029; background: #f8d7da; }
.shared-alert-warning { color: #694c11; background: #fff2d5; }
.shared-error { color: #a12b36; font-size: 12px; }
.shared-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.shared-tabs button { flex: 1; min-height: 42px; border: 1px solid #bdd4df; border-radius: 7px; background: #fff; color: #0f5c78; font: inherit; font-weight: 650; cursor: pointer; }
.shared-tabs button[aria-pressed='true'] { background: #0f5c78; border-color: #0f5c78; color: #fff; }
.shared-entry a:focus-visible, .shared-entry button:focus-visible, .shared-entry input:focus-visible { outline: 3px solid #e5a23c; outline-offset: 3px; }
html[lang=ur] .shared-entry .shared-eyebrow { display: none; }
html[lang=ur] .shared-entry .shared-intro h1 { line-height: 1.7; font-size: 1.8rem; }
html[lang=ur] .shared-entry .shared-heading h2, html[lang=ur] .shared-entry .shared-services h2 { min-height: 0; font-size: 20px; line-height: 2; }
html[lang=ur] .shared-entry .shared-service-row h3 { line-height: 1.9; }
html[lang=ur] .shared-entry .shared-service-row p { line-height: 1.9; }
@media (min-width: 801px) and (max-width: 1100px) {
  html[lang=ur] .shared-entry .shared-service-row p { display: none; }
}
@media (max-width: 800px) {
  .shared-landscape { display: none; }
  .shared-entry .site-width { width: calc(100% - 32px); }
  .shared-entry .government-service-label { display: none; }
  .shared-entry .header-inner { min-height: 54px; }
  .shared-entry .brand-name { font-size: 23px; }
  .shared-main { padding-block: 8px; }
  .shared-intro { text-align: start; }
  .shared-intro h1 { font-size: 1.7rem; }
  .shared-grid { grid-template-columns: 1fr; gap: 12px; }
  .shared-entry .shared-staff { padding: 16px; }
  .shared-services { padding: 12px; }
  .shared-entry .shared-service-row { grid-template-columns: 38px minmax(0, 1fr) minmax(95px, 125px); gap: 8px; padding: 6px; }
  .shared-service-row .shared-icon { width: 38px; height: 38px; font-size: 19px; }
  .shared-actions .shared-primary { font-size: 11px; }
  .shared-service-row h3 { font-size: 13px; }
  .shared-service-row p { display: none; }
  .shared-footer { padding-block: 6px; }
  .shared-footer > .site-width { gap: 6px 12px; }
}
@media (max-width: 360px) {
  .shared-entry .header-actions { gap: 6px; }
  .shared-entry .shared-service-row { grid-template-columns: 34px minmax(0, 1fr) minmax(88px, 105px); gap: 6px; }
  .shared-service-row .shared-icon { width: 34px; height: 34px; }
  .shared-actions { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .shared-entry * { scroll-behavior: auto !important; transition-duration: 0s !important; } }
