/* Shared first-paint and live sign-in composition: department brand panel with real
   reference photographs on the left, the sign-in form on white on the right. */
#workspace-entry .entry-access {
  --entry-ink: #0d1533;
  --entry-muted: #5b6585;
  --entry-royal: #2447d8;
  --entry-royal-600: #1b2fa8;
  --entry-line: #c9d3f5;
  --entry-marigold: #ffb300;
  --entry-display: "Anek Latin", "Anek Telugu", "Noto Sans", "Noto Sans Telugu", sans-serif;
  display: flex;
  box-sizing: border-box;
  min-inline-size: 0;
  min-block-size: 100%;
  inline-size: 100%;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  background:
    radial-gradient(circle at 0 0, #e6ecff 0, transparent 38%),
    radial-gradient(circle at 100% 100%, #fff1cf 0, transparent 34%),
    #f5f7ff;
  color: var(--entry-ink);
  font-family: var(--font-ui, "Noto Sans", "Noto Sans Telugu", sans-serif);
  font-size: max(1rem, 16px);
  line-height: 1.5;
}
#workspace-entry .entry-access[lang="te"] { --entry-display: "Anek Telugu", "Noto Sans Telugu", "Anek Latin", "Noto Sans", sans-serif; line-height: 1.7; }
#workspace-entry .entry-access *, #workspace-entry .entry-access *::before, #workspace-entry .entry-access *::after { box-sizing: border-box; letter-spacing: 0; }
#workspace-entry .entry-access :is(.workspace-access-panel, .shared-access-panel) {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 1fr);
  flex: 0 1 1120px;
  inline-size: 100%;
  max-inline-size: 1120px;
  min-inline-size: 0;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 26, 61, .06), 0 24px 64px rgba(36, 71, 216, .16);
  overflow: hidden;
}

/* ---------- Brand panel ----------
   Official department panel: solid royal navy, tricolour rule, both emblems large, the government and
   department names in both official languages, and one photograph filling the space that remains. */
#workspace-entry .entry-access .entry-access-story {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-inline-size: 0;
  padding: 36px 36px 32px;
  overflow: hidden;
  border-bottom: 0;
  background: #14206b;
  color: #fff;
}
#workspace-entry .entry-access .entry-access-story::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #ff9933 0 33.33%, #ffffff 33.33% 66.66%, #138808 66.66% 100%);
}
#workspace-entry .entry-access .entry-access-official { align-items: center; gap: 0; padding: 30px 32px 28px; text-align: center; }
#workspace-entry .entry-access .entry-official-emblems { display: flex; align-items: center; justify-content: center; gap: 22px; }
#workspace-entry .entry-access .entry-official-emblems img { flex: none; inline-size: 112px; block-size: 112px; padding: 8px; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 0 0 4px #ffb300, 0 10px 24px rgba(0, 0, 0, .3); }
#workspace-entry .entry-access .entry-official-emblems .entry-excise-emblem { padding: 10px 14px; }
#workspace-entry .entry-access .entry-access-official .entry-access-department { display: grid; justify-items: center; gap: 10px; margin: 18px 0 0; }
#workspace-entry .entry-access .entry-access-official .entry-access-department p { display: grid; gap: 1px; margin: 0; }
#workspace-entry .entry-access .entry-official-government { color: #dbe6ff; font-family: var(--entry-display); font-size: 18px; font-weight: 650; line-height: 1.3; }
#workspace-entry .entry-access .entry-official-department strong { color: #fff; font-family: var(--entry-display); font-size: 28px; font-weight: 800; line-height: 1.2; text-wrap: balance; }
#workspace-entry .entry-access .entry-official-alt { color: #ffd27a; font-size: 15px; font-weight: 600; line-height: 1.45; }
#workspace-entry .entry-access .entry-official-department .entry-official-alt { font-size: 17px; }
#workspace-entry .entry-access [lang="te"] { font-family: "Anek Telugu", "Noto Sans Telugu", sans-serif; }
/* The fixed Telugu department name takes the wordmark cut of Anek Telugu (public/fonts.css). */
#workspace-entry .entry-access .entry-access-department [lang="te"] { font-family: "Anek Telugu Brand", "Anek Telugu", "Noto Sans Telugu", sans-serif; }
#workspace-entry .entry-access .entry-official-department::after { content: ""; justify-self: center; inline-size: 72px; block-size: 3px; margin-block-start: 10px; border-radius: 3px; background: #ffb300; }
#workspace-entry .entry-access .entry-access-official .workspace-access-brand { justify-content: center; margin: 12px 0 0; color: #fff; font-size: 26px; }
#workspace-entry .entry-access .entry-access-official .entry-photo-main { position: relative; flex: 1 1 0; align-self: stretch; min-block-size: 132px; margin: 18px 0 0; overflow: hidden; border: 3px solid #fff; border-radius: 16px; background: #0b1440; }
#workspace-entry .entry-access .entry-access-official .entry-photo-main img { position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 62%; }
#workspace-entry .entry-access .entry-access-identity { display: flex; align-items: center; gap: 12px; }
#workspace-entry .entry-access .entry-state-emblem { flex: none; inline-size: 56px; block-size: 56px; padding: 5px; border-radius: 14px; background: #fff; object-fit: contain; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
#workspace-entry .entry-access .workspace-access-brand { display: flex; align-items: center; gap: 12px; margin: 0; color: #fff; font-family: "Anek Latin", "Noto Sans", sans-serif; font-size: 34px; font-stretch: 112%; font-weight: 800; line-height: 1; }
#workspace-entry .entry-access .workspace-access-brand img { flex: none; inline-size: 45px; block-size: 52px; padding: 3px; border-radius: 12px; object-fit: contain; background: #fff; filter: none; animation: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
#workspace-entry .entry-access .entry-access-department { display: grid; gap: 2px; margin: 0; color: #dbe6ff; font-size: 15px; line-height: 1.4; }
#workspace-entry .entry-access .entry-access-department strong { color: #fff; font-family: var(--entry-display); font-size: 19px; font-weight: 700; }
#workspace-entry .entry-access .entry-story-copy { margin: 0; padding: 0; }
#workspace-entry .entry-access .entry-story-eyebrow { display: none; }
#workspace-entry .entry-access .entry-access-context { max-inline-size: 18ch; margin: 4px 0 18px; color: #fff; font-family: var(--entry-display); font-size: 40px; font-weight: 800; line-height: 1.12; text-wrap: balance; }
#workspace-entry .entry-access[lang="te"] .entry-access-context { max-inline-size: 16ch; font-size: 34px; line-height: 1.45; }
#workspace-entry .entry-access .entry-access-workflow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
#workspace-entry .entry-access .entry-access-workflow li { display: inline-flex; align-items: center; gap: 8px; min-inline-size: 0; min-block-size: 40px; padding: 4px 14px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-family: var(--entry-display); font-size: 16px; font-weight: 650; line-height: 1.3; white-space: nowrap; }
#workspace-entry .entry-access .entry-story-photo { pointer-events: none; }

/* ---------- Form ---------- */
#workspace-entry .entry-access .entry-access-form { display: flex; flex-direction: column; justify-content: center; min-inline-size: 0; padding: 40px 48px; }
/* Sign-in heading and language switch share one row so the whole form fits a 1366×768 screen. */
#workspace-entry .entry-access:has(.entry-access-official) .entry-access-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; align-items: center; column-gap: 16px; padding: 30px 44px; }
#workspace-entry .entry-access .entry-access-form > :not(h1, .workspace-access-language) { grid-column: 1 / -1; }
#workspace-entry .entry-access:has(.entry-access-official) .entry-access-form > h1 { grid-row: 1; grid-column: 1; margin: 0 0 18px; font-size: 30px; }
#workspace-entry .entry-access:has(.entry-access-official) .workspace-access-language { grid-row: 1; grid-column: 2; margin: 0 0 18px; }
#workspace-entry .entry-access:has(.entry-access-official) .workspace-access-language button { min-block-size: 40px; padding: 0 14px; }
#workspace-entry .entry-access .entry-auto-status { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#workspace-entry .entry-access #workspace-access-captcha.is-autofilling { border-color: var(--entry-royal); background: #f5f7ff; }
#workspace-entry .entry-access .workspace-access-language { display: inline-flex; flex-wrap: wrap; align-self: flex-start; gap: 0; margin: 0 0 28px; padding: 4px; border: 1.5px solid #dfe5f7; border-radius: 14px; background: #f5f7ff; }
#workspace-entry .entry-access .workspace-access-language button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-inline-size: 0; min-block-size: 44px; max-inline-size: 100%; margin: 0; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: #33475b; box-shadow: none; font-family: var(--entry-display); font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; }
#workspace-entry .entry-access .workspace-access-language button[lang="te"] { font-family: "Anek Telugu Brand", "Anek Telugu", "Noto Sans Telugu", sans-serif; }
#workspace-entry .entry-access .workspace-access-language button[aria-pressed="true"] { background: var(--entry-royal); color: #fff; box-shadow: 0 6px 14px rgba(36, 71, 216, .28); }
#workspace-entry .entry-access .entry-language-code { display: grid; place-items: center; inline-size: 26px; min-block-size: 24px; padding: 2px; border-radius: 6px; background: #eef2ff; color: #33475b; font-size: 12.5px; font-weight: 800; }
#workspace-entry .entry-access button[aria-pressed="true"] .entry-language-code { background: rgba(255, 255, 255, .22); color: #fff; }
#workspace-entry .entry-access .entry-access-form h1 { margin: 0 0 24px; color: var(--entry-ink); font-family: var(--entry-display); font-size: 34px; font-weight: 800; line-height: 1.2; }
#workspace-entry .entry-access form { display: grid; gap: 14px; min-inline-size: 0; margin: 0; }
#workspace-entry .entry-access .workspace-access-field { display: grid; min-inline-size: 0; gap: 6px; }
#workspace-entry .entry-access :is(.workspace-access-field > label, form > label) { margin: 0; color: #33475b; font-size: 14px; font-weight: 650; line-height: 1.5; }
#workspace-entry .entry-access .workspace-access-input { position: relative; min-inline-size: 0; }
#workspace-entry .entry-access :is(input, button) { max-inline-size: 100%; }
#workspace-entry .entry-access :is(.workspace-access-input > input, form > input) { display: block; inline-size: 100%; min-inline-size: 0; min-block-size: 52px; margin: 0; padding: 12px 14px 12px 44px; border: 1.5px solid var(--entry-line); border-radius: 14px; background: #fff; color: var(--entry-ink); box-shadow: none; font: inherit; font-size: 16px; }
#workspace-entry .entry-access:has(.entry-access-official) .workspace-access-input > input { min-block-size: 48px; padding-block: 10px; }
#workspace-entry .entry-access .workspace-access-input > :is(svg, i) { position: absolute; inset-block-start: 50%; inset-inline-start: 14px; inline-size: 20px; block-size: 20px; transform: translateY(-50%); color: var(--entry-royal); pointer-events: none; }
#workspace-entry .entry-access input:hover:not(:disabled) { border-color: #8ea3c4; }
#workspace-entry .entry-access input:focus { border-color: var(--entry-royal); box-shadow: 0 0 0 4px rgba(36, 71, 216, .14); outline: none; }
#workspace-entry .entry-access input[aria-invalid="true"] { border-color: #c81e3a; background: #fff8f9; }
#workspace-entry .entry-access .workspace-access-error { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: #ffe4e6; color: #8f1229; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
#workspace-entry .entry-access .workspace-access-error[hidden] { display: none; }
/* Method panels, the reset panel and helper fields use the native hidden attribute; no display rule may reveal them. */
#workspace-entry .entry-access [hidden] { display: none !important; }
#workspace-entry .entry-access .workspace-access-error svg { flex: none; inline-size: 18px; block-size: 18px; margin-block-start: 2px; }
#workspace-entry .entry-access :is(.workspace-access-submit, form > button[type="submit"]) { display: flex; align-items: center; justify-content: center; gap: 10px; inline-size: 100%; min-inline-size: 0; min-block-size: 50px; margin: 2px 0 0; padding: 10px 16px; border: 0; border-radius: 14px; background: linear-gradient(120deg, #4f7cff 0%, #2447d8 55%, #1b2fa8 100%); color: #fff; box-shadow: 0 10px 24px rgba(36, 71, 216, .32); font-family: var(--entry-display); font-size: 18px; font-weight: 750; line-height: 1.2; cursor: pointer; }
#workspace-entry .entry-access .workspace-access-submit svg { flex: none; inline-size: 20px; block-size: 20px; }
#workspace-entry .entry-access :is(.workspace-access-submit, form > button[type="submit"]):hover:not(:disabled) { background: var(--entry-royal-600); filter: none; }
#workspace-entry .entry-access :is(input, button):focus-visible { outline: 3px solid var(--entry-marigold); outline-offset: 2px; }
#workspace-entry .entry-access :is(input, button):disabled { opacity: .65; cursor: wait; }
#workspace-entry .entry-access .entry-access-status { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--entry-muted); font-size: 14px; line-height: 1.5; }
#workspace-entry .entry-access .entry-access-status::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: #0b7f73; }
#workspace-entry .entry-access .entry-access-boundary { display: flex; align-items: flex-start; gap: 8px; margin: 22px 0 0; color: var(--entry-muted); font-size: 14px; line-height: 1.6; }
#workspace-entry .entry-access .entry-access-boundary > :is(svg, i) { flex: none; inline-size: 16px; block-size: 16px; margin-block-start: 3px; color: var(--entry-muted); }
#workspace-entry .entry-access .entry-access-boundary > span { min-inline-size: 0; }
/* ---------- Security code ---------- */
#workspace-entry .entry-access ufir-captcha { display: grid; min-inline-size: 0; gap: 8px; }
#workspace-entry .entry-access .workspace-captcha > label { margin: 0; color: #33475b; font-size: 14px; font-weight: 650; line-height: 1.5; }
#workspace-entry .entry-access .workspace-captcha-row { display: flex; align-items: stretch; gap: 8px; min-inline-size: 0; }
#workspace-entry .entry-access .workspace-captcha-image { position: relative; flex: 1 1 auto; min-inline-size: 0; max-inline-size: 260px; block-size: 52px; overflow: hidden; border: 1.5px solid var(--entry-line); border-radius: 14px; background: linear-gradient(120deg, #eef2ff, #fff1cf); user-select: none; }
#workspace-entry .entry-access .workspace-captcha-image canvas { display: block; inline-size: 100%; block-size: 100%; }
#workspace-entry .entry-access .workspace-captcha-tool { display: grid; place-items: center; flex: none; inline-size: 52px; min-block-size: 48px; margin: 0; padding: 0; border: 1.5px solid var(--entry-line); border-radius: 14px; background: #f5f7ff; color: var(--entry-royal); cursor: pointer; }
#workspace-entry .entry-access .workspace-captcha-tool svg { inline-size: 22px; block-size: 22px; }
#workspace-entry .entry-access .workspace-captcha-tool:hover:not(:disabled) { border-color: var(--entry-royal); background: #eef2ff; }
#workspace-entry .entry-access .workspace-captcha-tool:active:not(:disabled) svg { transform: rotate(-30deg); }
#workspace-entry .entry-access .workspace-captcha-row + .workspace-access-input { margin-block-start: 2px; }
#workspace-entry .entry-access #workspace-access-captcha { font-family: var(--entry-display); font-weight: 700; letter-spacing: .18em; }
#workspace-entry .entry-access .workspace-captcha-status { margin: 0; color: var(--entry-muted); font-size: 14px; line-height: 1.5; }
#workspace-entry .entry-access .workspace-captcha-status:empty { display: none; }
@media (prefers-reduced-motion: no-preference) { #workspace-entry .entry-access .workspace-captcha-tool svg { transition: transform 200ms ease-out; } }
@media (max-width: 420px) {
  #workspace-entry .entry-access .workspace-captcha-image { block-size: 56px; }
  #workspace-entry .entry-access .workspace-captcha-tool { inline-size: 48px; min-block-size: 48px; }
}
@media (forced-colors: active) { #workspace-entry .entry-access .workspace-captcha-image { forced-color-adjust: none; border-color: CanvasText; } #workspace-entry .entry-access .workspace-captcha-tool { border-color: ButtonText; background: ButtonFace; color: ButtonText; } }
/* ---------- Sign-in methods, Mobile & OTP, Forgot password ---------- */
#workspace-entry .entry-access .entry-access-form { position: relative; overflow: hidden; }
#workspace-entry .entry-access ufir-sign-in { display: grid; gap: 18px; min-inline-size: 0; }
#workspace-entry .entry-access .entry-access-form h1 + ufir-sign-in { margin-block-start: -6px; }
#workspace-entry .entry-access .workspace-method-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-inline-size: 0; padding: 4px; border: 1.5px solid #dfe5f7; border-radius: 14px; background: #f5f7ff; }
#workspace-entry .entry-access .workspace-method-tabs::before { content: ""; position: absolute; inset-block: 4px; inset-inline-start: 4px; inline-size: calc(50% - 4px); border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(36, 71, 216, .16); transform: translateX(calc(var(--method, 0) * 100%)); }
#workspace-entry .entry-access[dir="rtl"] .workspace-method-tabs::before { transform: translateX(calc(var(--method, 0) * -100%)); }
#workspace-entry .entry-access .workspace-method-tab { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-inline-size: 0; min-block-size: 44px; margin: 0; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--entry-muted); font-family: var(--entry-display); font-size: 15px; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; }
#workspace-entry .entry-access .workspace-method-tab svg { flex: none; }
#workspace-entry .entry-access .workspace-method-tab[aria-selected="true"] { color: var(--entry-royal); }
#workspace-entry .entry-access .workspace-method-tab[aria-selected="true"] svg { color: #c2185b; }
#workspace-entry .entry-access .workspace-access-field:has(.workspace-forgot-link) { position: relative; }
#workspace-entry .entry-access .signin-link { display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; margin: 0; padding: 0 2px; border: 0; background: none; color: var(--entry-royal); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: pointer; }
#workspace-entry .entry-access .signin-link:hover:not(:disabled) { color: #c2185b; }
#workspace-entry .entry-access .workspace-forgot-link { justify-self: end; min-block-size: 32px; margin-block: -4px -10px; }
/* "Forgot password?" sits on the Password label row. */
#workspace-entry .entry-access .workspace-access-field:has(> .workspace-forgot-link) { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
#workspace-entry .entry-access .workspace-access-field:has(> .workspace-forgot-link) > label { grid-row: 1; grid-column: 1; }
#workspace-entry .entry-access .workspace-access-field:has(> .workspace-forgot-link) > .workspace-forgot-link { grid-row: 1; grid-column: 2; min-block-size: 24px; margin: 0; }
#workspace-entry .entry-access .workspace-access-field:has(> .workspace-forgot-link) > .workspace-access-input { grid-column: 1 / -1; }
#workspace-entry .entry-access .workspace-otp-panel { min-inline-size: 0; }
#workspace-entry .entry-access .signin-flow-form { display: grid; gap: 16px; min-inline-size: 0; }
#workspace-entry .entry-access .signin-mobile { display: flex; align-items: stretch; min-inline-size: 0; border: 1.5px solid var(--entry-line); border-radius: 14px; background: #fff; }
#workspace-entry .entry-access .signin-mobile:focus-within { border-color: var(--entry-royal); box-shadow: 0 0 0 4px rgba(36, 71, 216, .14); }
#workspace-entry .entry-access .signin-mobile.is-invalid { border-color: #c81e3a; background: #fff8f9; }
#workspace-entry .entry-access .signin-mobile-code { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 0 12px 0 14px; border-inline-end: 1.5px solid var(--entry-line); color: var(--entry-ink); font-weight: 700; }
#workspace-entry .entry-access .signin-mobile-code svg { color: var(--entry-royal); }
#workspace-entry .entry-access .signin-mobile input { flex: 1 1 auto; inline-size: 100%; min-inline-size: 0; min-block-size: 52px; margin: 0; padding: 12px 14px; border: 0; border-radius: 0 14px 14px 0; background: transparent; color: var(--entry-ink); font: inherit; font-size: 18px; font-weight: 650; letter-spacing: .06em; box-shadow: none; }
#workspace-entry .entry-access .signin-mobile input:focus { box-shadow: none; outline: none; }
#workspace-entry .entry-access .signin-otp-head { display: grid; gap: 2px; }
#workspace-entry .entry-access .signin-otp-title { margin: 0; color: var(--entry-ink); font-family: var(--entry-display); font-size: 18px; font-weight: 750; line-height: 1.35; }
#workspace-entry .entry-access .signin-otp-for { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; margin: 0; color: var(--entry-muted); font-size: 15px; }
#workspace-entry .entry-access .signin-otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-inline-size: 380px; }
#workspace-entry .entry-access .signin-otp-box { inline-size: 100%; min-inline-size: 0; min-block-size: 56px; margin: 0; padding: 0; border: 1.5px solid var(--entry-line); border-radius: 12px; background: #f5f7ff; color: var(--entry-ink); font-family: var(--entry-display); font-size: 24px; font-weight: 800; text-align: center; box-shadow: none; caret-color: #c2185b; }
#workspace-entry .entry-access .signin-otp-box:not(:placeholder-shown) { background: #fff; }
#workspace-entry .entry-access .signin-otp-box:focus { border-color: var(--entry-royal); background: #fff; box-shadow: 0 0 0 4px rgba(36, 71, 216, .14); transform: translateY(-2px); }
#workspace-entry .entry-access .signin-otp-boxes.is-invalid .signin-otp-box { border-color: #c81e3a; background: #fff8f9; }
#workspace-entry .entry-access .signin-resend { display: flex; align-items: center; gap: 10px; min-block-size: 44px; margin: -6px 0 0; color: var(--entry-muted); font-size: 14px; }
#workspace-entry .entry-access .signin-resend-ring { flex: none; inline-size: 22px; block-size: 22px; border-radius: 50%; background: conic-gradient(var(--entry-royal) calc(var(--resend, 1) * 360deg), #dfe5f7 0); -webkit-mask: radial-gradient(circle, transparent 6px, #000 7px); mask: radial-gradient(circle, transparent 6px, #000 7px); }
#workspace-entry .entry-access .signin-busy-button.is-busy { cursor: progress; opacity: 1; }
#workspace-entry .entry-access .signin-spinner { flex: none; inline-size: 20px; block-size: 20px; border: 2.5px solid rgba(255, 255, 255, .35); border-block-start-color: #fff; border-radius: 50%; }
#workspace-entry .entry-access .signin-success { display: grid; justify-items: center; gap: 10px; padding: 18px 8px; color: var(--entry-ink); font-family: var(--entry-display); font-size: 17px; font-weight: 700; text-align: center; }
#workspace-entry .entry-access .signin-success p { margin: 0; }
#workspace-entry .entry-access .signin-success-title { font-size: 22px; font-weight: 800; }
#workspace-entry .entry-access .signin-forgot-done p:not(.signin-success-title) { color: var(--entry-muted); font-family: var(--font-ui, "Noto Sans", "Noto Sans Telugu", sans-serif); font-size: 15px; font-weight: 500; }
#workspace-entry .entry-access .signin-success-mark { inline-size: 76px; block-size: 76px; }
#workspace-entry .entry-access .signin-success-mark circle { fill: #e5f6f1; stroke: #0b7f73; stroke-width: 3; }
#workspace-entry .entry-access .signin-success-mark path { fill: none; stroke: #0b7f73; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 0; }
#workspace-entry .entry-access .workspace-forgot { position: absolute; inset: 0; z-index: 3; display: block; padding: 32px 48px; overflow: auto; background: #fff; transform: translateX(104%); visibility: hidden; }
#workspace-entry .entry-access .workspace-forgot.is-open { transform: none; visibility: visible; box-shadow: -18px 0 40px rgba(20, 32, 107, .12); }
#workspace-entry .entry-access .workspace-forgot[hidden] { display: none; }
#workspace-entry .entry-access .workspace-forgot .signin-flow-body { display: grid; gap: 18px; max-inline-size: 460px; }
#workspace-entry .entry-access .signin-forgot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#workspace-entry .entry-access .signin-forgot-head h2 { margin: 0; color: var(--entry-ink); font-family: var(--entry-display); font-size: 28px; font-weight: 800; line-height: 1.2; }
#workspace-entry .entry-access .signin-stepper { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
#workspace-entry .entry-access .signin-stepper::before, #workspace-entry .entry-access .signin-stepper::after { content: ""; position: absolute; inset-block-start: 17px; inset-inline-start: 16.66%; block-size: 3px; border-radius: 3px; background: #dfe5f7; inline-size: 66.66%; }
#workspace-entry .entry-access .signin-stepper::after { background: linear-gradient(90deg, #2447d8, #c2185b); inline-size: calc(66.66% * var(--progress, 0)); }
#workspace-entry .entry-access .signin-stepper li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; min-inline-size: 0; color: var(--entry-muted); font-size: 13.5px; font-weight: 650; line-height: 1.3; text-align: center; }
#workspace-entry .entry-access .signin-stepper-dot { display: grid; place-items: center; inline-size: 36px; block-size: 36px; border: 2px solid #dfe5f7; border-radius: 50%; background: #fff; color: var(--entry-muted); font-weight: 800; }
#workspace-entry .entry-access .signin-stepper li.is-current { color: var(--entry-ink); }
#workspace-entry .entry-access .signin-stepper li.is-current .signin-stepper-dot { border-color: var(--entry-royal); background: var(--entry-royal); color: #fff; box-shadow: 0 0 0 5px rgba(36, 71, 216, .14); }
#workspace-entry .entry-access .signin-stepper li.is-done .signin-stepper-dot { border-color: #0b7f73; background: #0b7f73; color: #fff; }
#workspace-entry .entry-access .signin-back { justify-self: start; text-decoration: none; }
#workspace-entry .entry-access .signin-strength { display: grid; gap: 6px; margin-block-start: -6px; color: var(--entry-muted); font-size: 14px; }
#workspace-entry .entry-access .signin-strength-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
#workspace-entry .entry-access .signin-strength-bars i { block-size: 6px; border-radius: 6px; background: #dfe5f7; }
#workspace-entry .entry-access .signin-strength[data-score="1"] i:nth-child(-n+1) { background: #c81e3a; }
#workspace-entry .entry-access .signin-strength[data-score="2"] i:nth-child(-n+2) { background: #ff8a00; }
#workspace-entry .entry-access .signin-strength[data-score="3"] i:nth-child(-n+3) { background: #2447d8; }
#workspace-entry .entry-access .signin-strength[data-score="4"] i { background: #0b7f73; }
#workspace-entry .entry-access .signin-strength strong { color: var(--entry-ink); }
@keyframes signin-spin { to { transform: rotate(360deg); } }
@keyframes signin-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes signin-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes signin-draw { from { stroke-dashoffset: 34; } }
@keyframes signin-pop { from { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  #workspace-entry .entry-access .workspace-method-tabs::before { transition: transform 240ms cubic-bezier(.2, .8, .2, 1); }
  #workspace-entry .entry-access .signin-spinner { animation: signin-spin 700ms linear infinite; }
  #workspace-entry .entry-access .signin-shake { animation: signin-shake 420ms ease-out; }
  #workspace-entry .entry-access .signin-step-enter { animation: signin-enter 260ms ease-out both; }
  #workspace-entry .entry-access .signin-success-mark { animation: signin-pop 420ms ease-out both; }
  #workspace-entry .entry-access .signin-success-mark path { animation: signin-draw 420ms 220ms ease-out both; }
  #workspace-entry .entry-access .workspace-forgot { transition: transform 260ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 260ms; }
  #workspace-entry .entry-access .workspace-forgot.is-open { transition: transform 260ms cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  #workspace-entry .entry-access .signin-stepper::after { transition: inline-size 360ms ease-out; }
  #workspace-entry .entry-access .signin-otp-box, #workspace-entry .entry-access .signin-strength-bars i { transition: transform 140ms ease-out, background-color 160ms ease-out, border-color 140ms ease-out; }
}
@media (max-width: 760px) {
  #workspace-entry .entry-access ufir-sign-in { gap: 14px; }
  #workspace-entry .entry-access .workspace-forgot { padding: 24px 18px 28px; }
  #workspace-entry .entry-access .signin-forgot-head h2 { font-size: 24px; }
}
@media (max-width: 400px) {
  #workspace-entry .entry-access .workspace-method-tab { flex-direction: column; gap: 2px; font-size: 14px; }
  #workspace-entry .entry-access .signin-otp-boxes { gap: 6px; }
  #workspace-entry .entry-access .signin-otp-box { min-block-size: 50px; font-size: 21px; }
}
@media (forced-colors: active) {
  #workspace-entry .entry-access .workspace-method-tab[aria-selected="true"] { outline: 2px solid Highlight; }
  #workspace-entry .entry-access :is(.signin-otp-box, .signin-mobile, .signin-stepper-dot) { border-color: ButtonText; }
}
.workspace-first-paint { min-block-size: 100vh; min-block-size: 100dvh; }
.workspace-first-paint .entry-access { min-block-size: 100vh !important; min-block-size: 100dvh !important; }
body:has(.workspace-first-paint) { margin: 0; background: #f5f7ff; }

@media (max-width: 900px) {
  #workspace-entry .entry-access :is(.workspace-access-panel, .shared-access-panel) { grid-template-columns: minmax(0, 1fr); max-inline-size: 560px; }
  #workspace-entry .entry-access .entry-access-photo-story { min-block-size: 0; }
  #workspace-entry .entry-access .entry-access-official { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 10px; padding: 20px 18px 16px; text-align: start; }
  #workspace-entry .entry-access .entry-official-emblems { grid-row: 1; grid-column: 1; gap: 10px; }
  #workspace-entry .entry-access .entry-official-emblems img { inline-size: 56px; block-size: 56px; padding: 4px; box-shadow: 0 0 0 3px #ffb300; }
  #workspace-entry .entry-access .entry-access-official .entry-access-department { grid-row: 2; grid-column: 1 / -1; }
  #workspace-entry .entry-access .entry-official-emblems .entry-excise-emblem { padding: 5px 8px; }
  #workspace-entry .entry-access .entry-access-official .entry-access-department { justify-items: start; gap: 6px; margin: 0; }
  #workspace-entry .entry-access .entry-official-government { font-size: 15px; }
  #workspace-entry .entry-access .entry-official-department strong { font-size: 19px; }
  #workspace-entry .entry-access .entry-official-alt, #workspace-entry .entry-access .entry-official-department .entry-official-alt { font-size: 13.5px; }
  #workspace-entry .entry-access .entry-official-department::after { display: none; }
  #workspace-entry .entry-access .entry-access-official .workspace-access-brand { grid-row: 1; grid-column: 2; justify-content: flex-start; margin: 0; font-size: 28px; }
  #workspace-entry .entry-access .entry-access-official .entry-photo-main { display: none; }
}
@media (max-width: 760px) {
  #workspace-entry .entry-access { padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  #workspace-entry .entry-access :is(.workspace-access-panel, .shared-access-panel) { border-radius: 20px; }
  #workspace-entry .entry-access .entry-access-story:not(.entry-access-official) { gap: 14px; padding: 24px 18px 18px; }
  #workspace-entry .entry-access .entry-access-identity .entry-state-emblem { inline-size: 44px; block-size: 44px; border-radius: 12px; }
  #workspace-entry .entry-access .workspace-access-brand { font-size: 28px; gap: 10px; }
  #workspace-entry .entry-access .workspace-access-brand img { inline-size: 38px; block-size: 44px; }
  #workspace-entry .entry-access .entry-access-department { font-size: 14px; }
  #workspace-entry .entry-access .entry-access-department:not(.entry-access-official *) strong { font-size: 17px; }
  #workspace-entry .entry-access .entry-access-context { max-inline-size: none; margin: 0 0 12px; font-size: 27px; }
  #workspace-entry .entry-access[lang="te"] .entry-access-context { font-size: 23px; }
  #workspace-entry .entry-access .entry-access-workflow { gap: 6px; }
  #workspace-entry .entry-access .entry-access-workflow li { min-block-size: 36px; padding-inline-end: 12px; font-size: 14px; }
  #workspace-entry .entry-access .entry-access-form { padding: 24px 18px 28px; }
  #workspace-entry .entry-access:has(.entry-access-official) .entry-access-form { padding: 18px 16px 20px; }
  #workspace-entry .entry-access:has(.entry-access-official) .entry-access-form > h1 { font-size: 26px; margin-block-end: 14px; }
  #workspace-entry .entry-access:has(.entry-access-official) .workspace-access-language { margin-block-end: 14px; }
  #workspace-entry .entry-access .workspace-access-language { margin-block-end: 18px; }
  #workspace-entry .entry-access .entry-access-form h1 { margin-block-end: 16px; font-size: 28px; }
  #workspace-entry .entry-access form { gap: 14px; }
}
@media (prefers-reduced-motion: no-preference) { #workspace-entry .entry-access :is(input, button) { transition: background-color 140ms ease-out, border-color 140ms ease-out, box-shadow 140ms ease-out; } }
@media (prefers-reduced-motion: reduce) { #workspace-entry .entry-access *, #workspace-entry .entry-access *::before, #workspace-entry .entry-access *::after { animation: none; transition: none; scroll-behavior: auto; } }
@media (forced-colors: active) {
  #workspace-entry .entry-access :is(.entry-access-story, .workspace-access-panel, .shared-access-panel, .workspace-access-language button, .entry-language-code, .workspace-access-submit, form > button[type="submit"]) { border-color: ButtonText; background: Canvas; color: CanvasText; box-shadow: none; }
  #workspace-entry .entry-access :is(.workspace-access-brand, .entry-access-context, .entry-access-department, .entry-access-department strong, .entry-access-workflow li, .entry-official-alt, .entry-official-government) { color: CanvasText; }
  #workspace-entry .entry-access .workspace-access-language button[aria-pressed="true"] { border-color: Highlight; background: Highlight; color: HighlightText; forced-color-adjust: none; }
  #workspace-entry .entry-access :is(input, button):focus-visible { outline-color: Highlight; }
}

/* Daryaptu wordmark (login and department sign-in): large దర్యాప్తు in Anek Telugu, then
   "Daryaptu", then the tagline. Fallbacks keep the same shape before the display face arrives. */
.entry-access .brand-mark { display: grid; justify-items: inherit; gap: 4px; min-inline-size: 0; text-align: inherit; }
#workspace-entry .entry-access .entry-access-official .brand-mark { justify-items: center; text-align: center; }
.entry-access .brand-mark-te { font-family: "Anek Telugu Brand", "Anek Telugu", "Noto Sans Telugu", sans-serif !important; font-size: 1.75em; font-weight: 700; font-stretch: 100%; line-height: 1.1; padding-block-end: .22em; }
.entry-access .brand-mark-en { font-family: "Anek Latin", "Noto Sans", sans-serif; font-size: .62em; font-weight: 800; letter-spacing: .04em; line-height: 1.1; }
.entry-access .brand-mark-tag { color: #ffd27a; font-family: "Noto Sans", "Noto Sans Telugu", sans-serif !important; font-size: max(12px, .42em); font-stretch: 100%; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
@media (max-width: 900px) {
  #workspace-entry .entry-access .entry-access-official .brand-mark { justify-items: start; text-align: start; }
}

/* Phones: the whole sign-in fits one screen (360 x 640 and up) without scrolling. The emblems,
   wordmark and department stay; they only get smaller. */
@media (max-width: 480px) {
  #workspace-entry .entry-access .entry-access-official { column-gap: 10px; row-gap: 6px; padding: 12px 14px 10px; }
  #workspace-entry .entry-access .entry-official-emblems { gap: 6px; }
  #workspace-entry .entry-access .entry-official-emblems img { inline-size: 40px; block-size: 40px; padding: 3px; box-shadow: 0 0 0 2px #ffb300; }
  #workspace-entry .entry-access .entry-official-emblems .entry-excise-emblem { padding: 3px 5px; }
  #workspace-entry .entry-access .entry-access-official .workspace-access-brand { font-size: 17px; }
  #workspace-entry .entry-access .entry-access-official .brand-mark { gap: 1px; }
  #workspace-entry .entry-access .entry-access-official .entry-access-department { gap: 2px; }
  #workspace-entry .entry-access .entry-official-government { font-size: 12.5px; }
  #workspace-entry .entry-access .entry-official-department strong { font-size: 15px; }
  #workspace-entry .entry-access .entry-official-alt, #workspace-entry .entry-access .entry-official-department .entry-official-alt { font-size: 11.5px; line-height: 1.35; }
  #workspace-entry .entry-access:has(.entry-access-official) .entry-access-form { padding: 12px 14px 14px; }
  #workspace-entry .entry-access:has(.entry-access-official) .entry-access-form > h1 { font-size: 22px; margin-block-end: 8px; }
  #workspace-entry .entry-access:has(.entry-access-official) .workspace-access-language { margin-block-end: 8px; }
  #workspace-entry .entry-access .workspace-method-tab { min-block-size: 44px; padding-block: 6px; font-size: 14px; line-height: 1.2; }
  #workspace-entry .entry-access .workspace-access-field { margin-block-end: 8px; }
  #workspace-entry .entry-access .workspace-access-field label { margin-block-end: 4px; font-size: 13px; }
  #workspace-entry .entry-access .workspace-access-input input { min-block-size: 44px; }
}

/* Android phone (384 x 757): language buttons and the Forgot password link are 44px targets, and the
   smallest lines (official Telugu/English name, the "Daryaptu" mark) are at least 12px. The room comes
   from the language group's padding and spacing, so the sign-in still fits one screen. The Forgot link's
   44px box is pulled back with negative margins into the gaps above and below it, not over the input. */
@media (max-width: 480px) {
  #workspace-entry .entry-access .entry-access-official { row-gap: 4px; padding-block-end: 8px; }
  #workspace-entry .entry-access .entry-official-alt, #workspace-entry .entry-access .entry-official-department .entry-official-alt { font-size: 12px; line-height: 1.3; }
  #workspace-entry .entry-access .entry-access-official .brand-mark-en { font-size: 12px; }
  #workspace-entry .entry-access:has(.entry-access-official) .workspace-access-language { padding: 2px; margin-block-end: 4px; }
  #workspace-entry .entry-access:has(.entry-access-official) .workspace-access-language button { min-block-size: 44px; }
  #workspace-entry .entry-access .workspace-access-field:has(> .workspace-forgot-link) > .workspace-forgot-link { min-block-size: 44px; margin-block: -8px -6px; padding-inline: 8px; margin-inline-end: -8px; }
}

/* Sign-in, plain form: one solid primary button whose label never changes. The auto sign-in countdown
   is a small separate line under it with Cancel; demo accounts are compact rows that fill the User ID
   and password; the Android APK is a small text link at the very bottom. */
#workspace-entry .entry-access :is(.workspace-access-submit, form > button[type="submit"]) { background: var(--entry-royal); box-shadow: none; }
#workspace-entry .entry-access .entry-auto-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 4px; margin: -8px 0 -10px; color: var(--entry-muted); font-size: 13px; line-height: 1.3; font-variant-numeric: tabular-nums; }
#workspace-entry .entry-access .entry-auto-hint .entry-auto-cancel { min-block-size: 44px; padding-inline: 6px; font-size: 13px; }
#workspace-entry .entry-access .entry-demo-accounts { display: grid; gap: 6px; min-inline-size: 0; margin: 0; padding-block-start: 10px; border-block-start: 1px solid #dfe5f7; }
#workspace-entry .entry-access .entry-demo-title { margin: 0; color: #33475b; font-size: 13px; font-weight: 700; line-height: 1.3; }
#workspace-entry .entry-access .entry-demo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; min-inline-size: 0; }
#workspace-entry .entry-access .entry-demo-account { display: grid; align-content: center; gap: 1px; min-inline-size: 0; min-block-size: 44px; margin: 0; padding: 3px 8px; border: 1.5px solid var(--entry-line); border-radius: 10px; background: #fff; color: var(--entry-ink); box-shadow: none; font: inherit; text-align: start; cursor: pointer; }
#workspace-entry .entry-access .entry-demo-account strong { font-size: 13px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
#workspace-entry .entry-access .entry-demo-account small { color: var(--entry-muted); font-size: 12px; line-height: 1.2; overflow-wrap: anywhere; }
#workspace-entry .entry-access .entry-demo-account:hover:not(:disabled) { border-color: var(--entry-royal); background: #f5f7ff; }
#workspace-entry .entry-access .entry-demo-account[aria-pressed="true"] { border-color: var(--entry-royal); background: #eef2ff; box-shadow: inset 0 0 0 1px var(--entry-royal); }
#workspace-entry .entry-access .entry-app-download { margin: 4px 0 -10px; text-align: center; }
#workspace-entry .entry-access .android-download-link { display: inline-flex; align-items: center; gap: 4px; min-block-size: 44px; padding: 0 6px; color: var(--entry-muted); font-size: 13px; line-height: 1.3; text-decoration: underline; text-underline-offset: 2px; }
#workspace-entry .entry-access .android-download-link:hover { color: var(--entry-royal); }
#workspace-entry .entry-access .android-download-link:focus-visible { outline: 3px solid var(--entry-marigold); outline-offset: 2px; }
@media (forced-colors: active) {
  #workspace-entry .entry-access .entry-demo-account { border-color: ButtonText; }
  #workspace-entry .entry-access .entry-demo-account[aria-pressed="true"] { border-color: Highlight; outline: 2px solid Highlight; }
}
/* Phones: the sign-in with its demo accounts fits one 375 x 740 screen in English and Telugu. Labels stay
   above fields; every control keeps a 44px target; spacing, the method tabs and the code row tighten. */
@media (max-width: 480px) {
  #workspace-entry .entry-access form { gap: 8px; }
  #workspace-entry .entry-access ufir-sign-in { gap: 8px; }
  #workspace-entry .entry-access .workspace-access-field { gap: 2px; margin-block-end: 0; }
  #workspace-entry .entry-access .workspace-access-field label, #workspace-entry .entry-access .workspace-captcha > label { margin-block-end: 0; font-size: 13px; line-height: 1.3; }
  #workspace-entry .entry-access .workspace-method-tab { flex-direction: row; gap: 6px; min-block-size: 44px; padding-block: 0; font-size: 13px; line-height: 1.2; }
  #workspace-entry .entry-access .workspace-method-tab svg { inline-size: 16px; block-size: 16px; flex: none; }
  #workspace-entry .entry-access .workspace-access-field:has(> .workspace-forgot-link) > .workspace-forgot-link { font-size: 13px; white-space: nowrap; }
  #workspace-entry .entry-access .workspace-captcha-image { block-size: 44px; }
  #workspace-entry .entry-access .workspace-captcha-tool { inline-size: 44px; min-block-size: 44px; }
  #workspace-entry .entry-access :is(.workspace-access-submit, form > button[type="submit"]) { min-block-size: 46px; font-size: 17px; }
  #workspace-entry .entry-access .entry-demo-accounts { gap: 4px; padding-block-start: 6px; }
  #workspace-entry .entry-access .entry-demo-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  #workspace-entry .entry-access .entry-demo-account { padding: 2px 6px; }
  #workspace-entry .entry-access .entry-demo-account strong { font-size: 12.5px; }
  #workspace-entry .entry-access .entry-demo-account small { font-size: 11.5px; }
}
@media (max-width: 480px) {
  #workspace-entry .entry-access .entry-access-official { padding-block: 8px 6px; }
  #workspace-entry .entry-access form { gap: 6px; }
  #workspace-entry .entry-access .workspace-method-tabs { padding: 2px; }
  /* Code row: the drawn code, the code field and its two tools share one 44px row under the label. */
  #workspace-entry .entry-access .workspace-captcha { grid-template-columns: minmax(0, 1fr) 92px 44px 44px; column-gap: 4px; row-gap: 2px; align-items: center; }
  #workspace-entry .entry-access .workspace-captcha > label { grid-column: 1 / -1; }
  #workspace-entry .entry-access .workspace-captcha-row { display: contents; }
  #workspace-entry .entry-access .workspace-captcha-image { grid-column: 1; grid-row: 2; max-inline-size: none; block-size: 44px; }
  #workspace-entry .entry-access .workspace-captcha-tool[data-captcha="refresh"] { grid-column: 3; grid-row: 2; }
  #workspace-entry .entry-access .workspace-captcha-tool[data-captcha="listen"] { grid-column: 4; grid-row: 2; }
  #workspace-entry .entry-access .workspace-captcha-row + .workspace-access-input { grid-column: 2; grid-row: 2; margin: 0; }
  #workspace-entry .entry-access .workspace-captcha-row + .workspace-access-input > :is(svg, i) { display: none; }
  #workspace-entry .entry-access .workspace-captcha-row + .workspace-access-input > input { padding-inline: 10px; letter-spacing: .04em; }
  #workspace-entry .entry-access .workspace-captcha-status { grid-column: 1 / -1; }
  /* Demo accounts: the heading takes the first cell, so five accounts sit in two rows. */
  #workspace-entry .entry-access .entry-demo-accounts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding-block-start: 6px; }
  #workspace-entry .entry-access .entry-demo-list { display: contents; }
  #workspace-entry .entry-access .entry-demo-title { align-self: center; font-size: 12.5px; }
  #workspace-entry .entry-access .entry-demo-account { padding: 0 5px; }
  #workspace-entry .entry-access .entry-demo-account strong { font-size: 12px; }
  #workspace-entry .entry-access .entry-demo-account small { font-size: 11px; }
  #workspace-entry .entry-access .entry-demo-account :is(strong, small) { line-height: 1.15; }
  #workspace-entry .entry-access .entry-app-download { margin: 0 0 -12px; }
}
@media (max-width: 480px) {
  /* While the 2-second countdown line shows, the APK link steps aside so the screen does not grow. */
  #workspace-entry .entry-access .entry-access-form:has(.entry-auto-hint:not([hidden])) .entry-app-download { display: none; }
}
/* Wider screens: the Demo accounts heading takes the first cell, so the five accounts sit in two compact rows. */
@media (min-width: 481px) {
  #workspace-entry .entry-access .entry-demo-accounts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-block-start: 8px; }
  #workspace-entry .entry-access .entry-demo-list { display: contents; }
  #workspace-entry .entry-access .entry-demo-title { align-self: center; }
  #workspace-entry .entry-access .entry-demo-account { padding: 0 8px; }
  #workspace-entry .entry-access .entry-demo-account :is(strong, small) { line-height: 1.15; }
}
