:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #5f6368;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --black: #000000;
  --white: #ffffff;
  --accent: #0ea5e9;
  --accent-2: #db2777;
  --accent-soft: #e8f7ff;
  --action-bg: linear-gradient(135deg, var(--black), color-mix(in srgb, var(--accent) 34%, var(--black)));
  --action-text: var(--white);
  --hover-surface: #d9fbff;
  --menu-bg: #ffffff;
  --menu-panel: #ffffff;
  --menu-soft: #f7f7f7;
  --menu-text: #111111;
  --menu-muted: #5f6368;
  --menu-line: #e6e6e6;
  --live-bg: #ffffff;
  --live-text: #111111;
  --live-border: #e6e6e6;
  --live-muted: #5f6368;
  --live-dot: #e00000;
}

[data-theme="dark"] {
  --bg: #0f0f0f;
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --line: #2d2d2d;
  --soft: #191919;
  --black: #ffffff;
  --white: #111111;
  --accent: #22d3ee;
  --accent-2: #f472b6;
  --accent-soft: #11222a;
  --action-bg: linear-gradient(135deg, var(--black), color-mix(in srgb, var(--accent) 34%, var(--black)));
  --action-text: var(--white);
  --hover-surface: #d9fbff;
  --menu-bg: #0f0f0f;
  --menu-panel: #151821;
  --menu-soft: #1b2230;
  --menu-text: #f5f5f5;
  --menu-muted: #b5b5b5;
  --menu-line: #2d2d2d;
  --live-bg: #0f0f0f;
  --live-text: #f5f5f5;
  --live-border: #2d2d2d;
  --live-muted: #b5b5b5;
  --live-dot: #ff4d4d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#latestTitle,
#naukri-vlog,
#states {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  backdrop-filter: blur(12px);
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 44px;
  min-height: 42px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--menu-panel);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--menu-text);
  border-radius: 2px;
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(16px, 4vw, 56px);
  z-index: 40;
  display: none;
  width: min(420px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--menu-line);
  border-radius: 16px;
  background: var(--menu-panel);
  color: var(--menu-text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--menu-line);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--menu-text);
}

.mobile-brand strong,
.mobile-brand small {
  display: block;
}

.mobile-brand small {
  margin-top: 3px;
  color: var(--menu-muted);
}

.mobile-close {
  display: grid;
  width: 52px;
  min-height: 52px;
  place-items: center;
  border: 1px solid var(--menu-line);
  border-radius: 12px;
  background: var(--menu-soft);
  color: var(--menu-text);
  cursor: pointer;
  font-size: 1.6rem;
}

.mobile-menu-links {
  display: grid;
  gap: 4px;
  padding: 26px 24px;
}

.mobile-menu-links a {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 18px;
  border: 1px solid transparent;
  color: var(--menu-text);
  text-decoration: none;
  font-size: 1.28rem;
  font-weight: 800;
  padding: 0 18px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible {
  background: var(--hover-surface);
  border-color: color-mix(in srgb, var(--black) 22%, var(--line));
  color: #111111;
  outline: 0;
  transform: translateX(2px);
}

.mobile-menu-links span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--menu-line);
  border-radius: 8px;
  color: var(--menu-muted);
  font-size: 0.9rem;
}

.mobile-menu-foot {
  display: grid;
  gap: 12px;
  padding: 18px 24px 22px;
  border-top: 1px solid var(--menu-line);
}

.mobile-menu-foot p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--menu-muted);
  font-weight: 700;
}

.mobile-menu-foot p span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00e0a4;
  box-shadow: 0 0 0 5px rgba(0, 224, 164, 0.12);
}

.mobile-mode,
.mobile-refresh {
  min-height: 52px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
}

.mobile-mode {
  border: 1px solid var(--menu-line);
  background: var(--menu-soft);
  color: var(--menu-text);
}

.mobile-refresh {
  border: 0;
  background: var(--action-bg);
  color: var(--action-text);
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-btn span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.live-strip {
  position: sticky;
  top: 64px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 clamp(16px, 4vw, 56px);
  border: 0;
  background: color-mix(in srgb, var(--live-bg) 96%, transparent);
  color: var(--live-text);
  backdrop-filter: blur(12px);
}

.live-label {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--live-border);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--live-dot);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--live-dot) 42%, transparent);
  animation: livePulse 1.35s ease-out infinite;
}

.live-window {
  overflow: hidden;
  flex: 1;
}

.live-track {
  display: flex;
  width: max-content;
  gap: 28px;
  white-space: nowrap;
  animation: liveScroll 88s linear infinite;
  font-size: 0.9rem;
  font-weight: 700;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.live-track span::before {
  content: "New";
  margin-right: 10px;
  padding: 2px 7px;
  border: 1px solid var(--live-border);
  border-radius: 6px;
  color: var(--live-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--live-dot) 46%, transparent);
  }
  72% {
    box-shadow: 0 0 0 9px color-mix(in srgb, var(--live-dot) 0%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--live-dot) 0%, transparent);
  }
}

@keyframes liveScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.hero-copy,
.section-head p,
.feed-meta,
.dialog-head p,
.detail-table span,
.article-summary {
  color: var(--muted);
}

.brand small {
  margin-top: 2px;
  font-size: 0.78rem;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--hover-surface);
  border-color: color-mix(in srgb, var(--black) 22%, var(--line));
  color: #111111;
  outline: 0;
  transform: translateY(-1px);
}

:root:not([data-theme="dark"]) .nav a:hover,
:root:not([data-theme="dark"]) .nav a:focus-visible,
:root:not([data-theme="dark"]) .mobile-menu-links a:hover,
:root:not([data-theme="dark"]) .mobile-menu-links a:focus-visible,
:root:not([data-theme="dark"]) .footer-links a:hover,
:root:not([data-theme="dark"]) .footer-links a:focus-visible {
  border-color: var(--black);
  background: var(--action-bg);
  color: var(--action-text);
}

:root:not([data-theme="dark"]) .mobile-menu-links a:hover span,
:root:not([data-theme="dark"]) .mobile-menu-links a:focus-visible span {
  border-color: color-mix(in srgb, var(--action-text) 50%, transparent);
  color: var(--action-text);
}

.notification-wrap {
  position: relative;
}

.notification-btn {
  position: relative;
  display: grid;
  width: 44px;
  min-height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151821;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.bell-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-count {
  display: inline-grid;
  position: absolute;
  top: -9px;
  right: -9px;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a1a, #ff293d);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.desktop-theme-btn {
  display: inline-grid;
  min-width: 76px;
  min-height: 42px;
  place-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.desktop-theme-btn:hover,
.desktop-theme-btn:focus-visible {
  border-color: var(--black);
  background: var(--soft);
  outline: 0;
  transform: translateY(-1px);
}

.notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(360px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.notification-panel.is-hidden {
  display: none;
}

.install-banner {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  width: min(440px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--black) 18%, var(--line));
  border-radius: 8px;
  background: var(--menu-panel);
  color: var(--menu-text);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
}

.install-banner.is-strong {
  border-color: var(--black);
}

.install-banner div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.install-banner strong,
.install-banner span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-banner strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.install-banner span {
  color: var(--menu-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.install-btn,
.install-close {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.install-btn {
  padding: 0 16px;
  border: 1px solid var(--black);
  background: var(--action-bg);
  color: var(--action-text);
}

.install-close {
  width: 40px;
  border: 1px solid var(--menu-line);
  background: var(--menu-soft);
  color: var(--menu-text);
}

.push-banner {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  top: max(112px, env(safe-area-inset-top));
  z-index: 82;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  width: min(460px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--black) 18%, var(--line));
  border-radius: 8px;
  background: var(--menu-panel);
  color: var(--menu-text);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
}

.push-banner div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.push-banner strong,
.push-banner span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.push-banner strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.push-banner span {
  color: var(--menu-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.push-allow,
.push-close {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.push-allow {
  padding: 0 16px;
  border: 1px solid var(--black);
  background: var(--action-bg);
  color: var(--action-text);
}

.push-close {
  width: 40px;
  border: 1px solid var(--menu-line);
  background: var(--menu-soft);
  color: var(--menu-text);
}

.notification-panel > strong {
  display: block;
  margin: 4px 4px 10px;
}

.notification-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.notification-item:hover {
  background: var(--soft);
}

.notification-item strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.notification-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-body {
  min-height: 100vh;
  background: var(--bg);
}

.admin-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.admin-side,
.admin-section,
.admin-head,
.admin-stats > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-side {
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.admin-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.admin-note strong {
  color: var(--text);
}

.admin-login,
.admin-session,
.admin-mini-form {
  display: grid;
  gap: 12px;
}

.admin-session p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-session p span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #00c27a;
}

.admin-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-message.is-error {
  color: #d0002f;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.admin-panel.is-locked {
  pointer-events: none;
  opacity: 0.42;
  filter: grayscale(0.5);
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.admin-head h1,
.admin-section h2 {
  margin: 0;
  letter-spacing: 0;
}

.admin-head h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.admin-section h2 {
  font-size: 1.18rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-stats > div {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.admin-stats strong {
  font-size: 1.55rem;
}

.admin-stats span,
.admin-section-head p,
.admin-row span,
.admin-empty {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-section {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-head p {
  margin: 6px 0 0;
  line-height: 1.5;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-update-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-mini-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}

.admin-form textarea {
  min-height: 96px;
}

.admin-wide {
  grid-column: 1 / -1;
}

.admin-check {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.admin-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.admin-row.compact {
  grid-template-columns: 1fr;
}

.admin-row strong,
.admin-row span {
  display: block;
}

.admin-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-row span {
  margin-top: 4px;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-row-actions .outline-btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.outline-btn.danger {
  border-color: #d0002f;
  color: #d0002f;
}

main {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto 64px;
}

.hero {
  padding: clamp(44px, 8vw, 86px) 0 34px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 18px auto 0;
  line-height: 1.65;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr 210px auto;
  gap: 10px;
  max-width: 900px;
  margin: 30px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

label {
  display: block;
  color: var(--muted);
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
}

.state-picker {
  position: relative;
  display: grid;
  color: var(--muted);
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
}

.state-picker-btn {
  width: 100%;
  min-height: 42px;
  margin-top: 5px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.state-picker-btn::after {
  position: absolute;
  right: 12px;
  bottom: 15px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  transform: rotate(45deg);
}

.state-picker-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 35;
  display: grid;
  gap: 4px;
  width: 100%;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.state-picker-list.is-hidden {
  display: none;
}

.state-picker-option {
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.state-picker-option.is-active,
.state-picker-option:hover {
  background: var(--action-bg);
  color: var(--action-text);
}

input,
select,
textarea {
  width: 100%;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  outline: 0;
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
}

.search-input input {
  border: 0;
  border-radius: 8px;
  font-size: 1.02rem;
}

.black-btn,
.outline-btn,
.text-btn,
.close-btn,
.state-chip {
  min-height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.black-btn {
  padding: 0 20px;
  border: 1px solid var(--black);
  background: var(--action-bg);
  color: var(--action-text);
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  text-align: center;
  text-decoration: none;
}

.text-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--black);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0;
}

.section-head p {
  margin: 6px 0 0;
}

.section-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.section-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.round-control {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.round-control::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.round-control.is-prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.round-control.is-next::before {
  transform: translateX(-2px) rotate(135deg);
}

.round-control:hover,
.round-control:focus-visible {
  border-color: var(--black);
  background: var(--soft);
  outline: 0;
  transform: translateY(-1px);
}

.view-all-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 2px 0 8px;
  border: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.96rem;
}

.view-all-btn::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.view-all-btn:hover,
.view-all-btn:focus-visible {
  color: var(--muted);
  outline: 0;
}

.state-section,
.district-section,
.latest-section {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.district-section {
  margin-top: 34px;
}

.latest-section {
  margin-top: 34px;
}

.district-section.is-hidden {
  display: none;
}

.district-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 10px;
  scrollbar-color: var(--line) transparent;
}

.district-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.district-tab.is-active,
.district-tab:hover {
  border-color: var(--black);
  background: var(--action-bg);
  color: var(--action-text);
}

.latest-tabs {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  max-width: 560px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.latest-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.latest-tab.is-active,
.latest-tab:hover {
  background: var(--action-bg);
  color: var(--action-text);
}

.latest-cards {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.latest-card {
  flex: 0 0 min(360px, 86vw);
  display: grid;
  min-height: 210px;
  align-content: space-between;
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--black) 8%, transparent), transparent 42%),
    var(--white);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.latest-card:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

.latest-badge {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
}

.latest-card h3 {
  margin: 18px 0 10px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.latest-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.latest-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.state-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.state-chip {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 142px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  text-align: left;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.state-image {
  width: 100%;
  height: 78px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.state-chip::after {
  display: none;
}

.state-chip.is-active,
.state-chip:hover {
  border-color: var(--black);
  background: var(--soft);
  transform: translateY(-2px);
}

.state-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px 0;
}

.state-card-body strong,
.state-card-body em {
  display: block;
}

.state-card-body strong {
  color: var(--text);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.state-card-body em {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--action-bg);
  color: var(--action-text);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.vlog-section {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.vlog-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: 520px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.vlog-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.vlog-tab.is-active,
.vlog-tab:hover {
  background: var(--action-bg);
  color: var(--action-text);
}

.vlog-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.vlog-card {
  flex: 0 0 min(360px, 86vw);
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid color-mix(in srgb, var(--black) 25%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--black) 8%, transparent), transparent 42%),
    var(--white);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.vlog-card:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

.vlog-art {
  display: grid;
  height: 108px;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--black) 8%, transparent), transparent 42%),
    var(--soft);
  color: var(--text);
  font-size: 2.1rem;
  font-weight: 800;
}

.vlog-card div {
  padding: 18px;
}

.vlog-card strong {
  color: var(--black);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.vlog-card h3 {
  margin: 12px 0 10px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.vlog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.vlog-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  margin-top: 48px;
  padding: 34px clamp(16px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--text);
}

.footer-inner {
  width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 18px 0 24px;
}

.footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: var(--hover-surface);
  border-color: color-mix(in srgb, var(--black) 22%, var(--line));
  color: #111111;
  outline: 0;
  transform: translateY(-1px);
}

.footer-declaration {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--black) 24%, var(--line));
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  line-height: 1.65;
}

.footer-declaration strong {
  color: var(--text);
}

.content-body {
  min-height: 100vh;
  background: var(--bg);
}

.content-page {
  display: grid;
  min-height: calc(100vh - 80px);
  place-items: start center;
  padding: clamp(26px, 6vw, 70px) clamp(16px, 4vw, 56px);
}

.content-card {
  width: min(860px, 100%);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.content-card h1 {
  margin: 8px 0 18px;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1.05;
}

.content-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-card a {
  color: var(--text);
  font-weight: 800;
}

.listing-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) 0;
}

.listing-head {
  margin-bottom: 22px;
}

.listing-head h1 {
  margin: 8px 0 8px;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1;
}

.listing-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.page-job-article {
  width: 100%;
}

.page-job-article h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.12;
}

.all-card-link {
  text-decoration: none;
}

.job-dialog,
.admin-dialog,
.all-dialog {
  width: min(840px, calc(100% - 24px));
  border: 0;
  padding: 0;
  background: transparent;
}

.job-dialog::backdrop,
.admin-dialog::backdrop,
.all-dialog::backdrop {
  background: rgba(0, 0, 0, 0.48);
}

.job-article,
.admin-form,
.all-page {
  padding: clamp(18px, 4vw, 30px);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}

.all-dialog {
  width: min(1120px, calc(100% - 18px));
}

.all-page {
  max-height: min(86vh, 900px);
  overflow: auto;
}

.article-top,
.dialog-head,
.dialog-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.job-article h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.article-summary {
  line-height: 1.7;
}

.detail-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.detail-table div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.detail-table span,
.detail-table strong {
  display: block;
}

.detail-table span {
  margin-bottom: 5px;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.all-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(130px, 1fr)) auto;
  gap: 10px;
  margin: 22px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.all-filter-actions {
  display: grid;
  gap: 8px;
  align-content: end;
}

.all-list {
  display: grid;
  gap: 12px;
}

.all-vlog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.all-vlog-list .vlog-card {
  min-width: 0;
  flex: none;
}

.all-job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.all-job-card:hover {
  border-color: var(--black);
}

.all-job-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.all-job-card p {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.55;
}

.all-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.official-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.close-btn {
  width: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.wide {
  grid-column: 1 / -1;
}

.empty-state {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.coming-soon-card {
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 150px;
  align-content: center;
  padding: 24px;
  border: 1px dashed color-mix(in srgb, var(--black) 55%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--black) 8%, transparent), transparent 42%),
    var(--white);
  color: var(--text);
}

.coming-soon-card strong {
  color: var(--black);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.coming-soon-card span {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.coming-soon-card p {
  margin: 0;
  color: var(--muted);
}

.latest-cards > .coming-soon-card {
  flex: 0 0 100%;
}

.vlog-scroll > .coming-soon-card {
  flex: 0 0 100%;
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  * {
    min-width: 0;
  }

  .topbar {
    align-items: flex-start;
    padding-block: 12px;
  }

  .live-strip {
    top: 61px;
    min-height: 36px;
  }

  .nav {
    display: none;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
  }

  .brand {
    max-width: 100%;
  }

  .topbar > .brand {
    width: 54px;
    height: 54px;
    justify-content: center;
  }

  .topbar > .brand > span {
    display: none;
  }

  .topbar > .brand .brand-mark {
    width: 46px;
    height: 46px;
  }

  .menu-btn {
    display: grid;
  }

  .header-actions {
    gap: 10px;
  }

  .desktop-theme-btn {
    display: none;
  }

  .notification-wrap {
    order: 1;
  }

  .menu-btn {
    order: 2;
  }

  .notification-btn,
  .menu-btn {
    width: 54px;
    min-height: 54px;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 28px rgba(0, 0, 0, 0.16);
  }

  .bell-icon {
    width: 28px;
    height: 28px;
  }

  .mobile-nav {
    position: static;
    top: auto;
    right: auto;
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid var(--menu-line);
    border-radius: 16px;
    background: var(--menu-panel);
    color: var(--menu-text);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }

  .mobile-nav.is-hidden {
    display: none;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--menu-line);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--menu-text);
  }

  .mobile-brand > span {
    display: none;
  }

  .mobile-brand strong,
  .mobile-brand small {
    display: block;
  }

  .mobile-brand small {
    margin-top: 3px;
    color: var(--menu-muted);
  }

  .mobile-close {
    display: grid;
    width: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--menu-line);
    border-radius: 12px;
    background: var(--menu-soft);
    color: var(--menu-text);
    cursor: pointer;
    font-size: 1.6rem;
  }

  .mobile-menu-links {
    display: grid;
    gap: 4px;
    padding: 18px 16px;
  }

  .mobile-menu-links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 18px;
    border: 1px solid transparent;
    color: var(--menu-text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 0 16px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .mobile-menu-links a:hover,
  .mobile-menu-links a:focus-visible {
    background: var(--hover-surface);
    border-color: color-mix(in srgb, var(--black) 22%, var(--line));
    color: #111111;
    outline: 0;
    transform: translateX(2px);
  }

  .mobile-menu-links span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--menu-line);
    border-radius: 8px;
    color: var(--menu-muted);
    font-size: 0.9rem;
  }

  .mobile-menu-foot {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--menu-line);
  }

  .mobile-menu-foot p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--menu-muted);
    font-weight: 700;
  }

  .mobile-menu-foot p span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00e0a4;
    box-shadow: 0 0 0 5px rgba(0, 224, 164, 0.12);
  }

  .mobile-mode,
  .mobile-refresh {
    min-height: 52px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    font-size: 1rem;
  }

  .mobile-mode {
    border: 1px solid var(--menu-line);
    background: var(--menu-soft);
    color: var(--menu-text);
  }

  .mobile-refresh {
    border: 0;
    background: var(--action-bg);
    color: var(--action-text);
  }

  .menu-btn.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-btn span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .notification-count {
    top: -8px;
    right: -8px;
    margin-left: 0;
  }

  .notification-panel {
    position: fixed;
    top: 78px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: min(70vh, 560px);
    overflow: auto;
    padding: 12px;
    z-index: 80;
  }

  .notification-panel > strong {
    overflow-wrap: anywhere;
    font-size: 1rem;
  }

  .notification-item {
    padding: 12px;
  }

  .notification-item strong,
  .notification-item span {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  main {
    width: min(100% - 24px, 1060px);
  }

  .hero {
    padding-top: 36px;
    text-align: center;
  }

  h1 {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 12vw, 3.2rem);
    line-height: 1.08;
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy,
  .section-head p,
  .latest-card p,
  .vlog-card p,
  .all-job-card p,
  .article-summary,
  .content-card p {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .search-panel,
  .section-head,
  .article-top {
    grid-template-columns: 1fr;
  }

  .search-panel,
  .section-head,
  .article-top {
    display: grid;
  }

  .search-panel {
    border-radius: 8px;
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .search-panel .black-btn,
  .black-btn,
  .outline-btn {
    width: 100%;
  }

  .section-head {
    align-items: start;
    text-align: center;
    justify-items: center;
  }

  .section-head > div {
    width: 100%;
  }

  .section-tools {
    width: 100%;
    justify-items: center;
  }

  .section-actions {
    justify-content: center;
    width: 100%;
  }

  .round-control {
    width: 44px;
    height: 44px;
  }

  .latest-tabs,
  .vlog-tabs {
    max-width: 100%;
    width: 100%;
  }

  .latest-cards {
    gap: 12px;
  }

  .latest-card {
    min-height: auto;
    flex-basis: min(320px, 88vw);
  }

  .latest-foot {
    flex-wrap: wrap;
  }

  .vlog-card {
    flex-basis: min(320px, 88vw);
  }

  .state-card-body {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .district-tabs {
    gap: 8px;
  }

  .detail-table,
  .all-filters,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .all-job-card {
    grid-template-columns: 1fr;
  }

  .all-vlog-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 34px;
    padding: 22px 12px;
  }

  .footer-tagline {
    max-width: 310px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 22px;
    width: min(520px, 100%);
    margin: 14px auto 18px;
  }

  .footer-links a {
    min-height: 32px;
    justify-content: center;
    padding: 0;
    border: 0;
    font-size: 0.92rem;
  }

  .footer-links a:last-child {
    flex-basis: 100%;
  }

  .footer-declaration {
    display: block;
    margin: 0 auto;
    width: min(360px, 100%);
    padding: 12px;
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .footer-declaration strong {
    display: inline;
  }

  .all-page,
  .job-article {
    max-height: 86vh;
    overflow: auto;
  }

  .listing-page {
    width: min(100% - 20px, 1120px);
    padding: 28px 0;
  }

  .listing-head {
    text-align: center;
  }

  .listing-head h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .all-filter-actions {
    grid-template-columns: 1fr 1fr;
  }

  .dialog-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .detail-table {
    gap: 8px;
  }

  .article-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .state-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    grid-template-columns: 1fr;
    width: min(100% - 20px, 1280px);
    padding-top: 10px;
  }

  .admin-side {
    position: static;
  }

  .admin-stats,
  .admin-grid,
  .admin-form,
  .admin-update-form {
    grid-template-columns: 1fr;
  }

  .admin-head,
  .admin-section-head {
    display: grid;
    align-items: stretch;
  }

  .admin-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-row-actions,
  .admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-row-actions .outline-btn,
  .admin-actions .outline-btn,
  .admin-actions .black-btn {
    width: 100%;
  }

  .install-banner {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: calc(100vw - 20px);
  }

  .install-close {
    position: absolute;
    top: -12px;
    right: -6px;
    width: 34px;
    min-height: 34px;
  }

  .push-banner {
    left: 10px;
    top: 112px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: calc(100vw - 20px);
  }

  .push-close {
    position: absolute;
    top: -12px;
    right: -6px;
    width: 34px;
    min-height: 34px;
  }

}

@media (max-width: 520px) {
  .state-chips {
    grid-template-columns: 1fr;
  }

  main {
    width: min(100% - 18px, 1060px);
  }

  .topbar {
    padding-left: 10px;
    padding-right: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .footer-tagline {
    font-size: 0.86rem;
  }

  .footer-links {
    gap: 12px 18px;
    width: min(390px, 100%);
  }

  .footer-links a {
    min-height: 30px;
    font-size: 0.84rem;
  }

  .footer-declaration {
    font-size: 0.8rem;
    line-height: 1.48;
  }

  .install-banner {
    padding: 10px;
  }

  .install-banner strong,
  .install-banner span {
    white-space: normal;
  }

  .install-banner strong {
    font-size: 0.88rem;
  }

  .install-banner span {
    font-size: 0.76rem;
  }

  .install-btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .push-banner {
    padding: 10px;
  }

  .push-banner strong,
  .push-banner span {
    white-space: normal;
  }

  .push-banner strong {
    font-size: 0.88rem;
  }

  .push-banner span {
    font-size: 0.76rem;
  }

  .push-allow {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .admin-row-actions,
  .admin-actions {
    grid-template-columns: 1fr;
  }

  .notification-btn,
  .menu-btn {
    width: 48px;
    min-height: 48px;
    border-radius: 12px;
  }

  .notification-count {
    min-width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }

  .mobile-menu-links a {
    font-size: 1rem;
  }

  .live-strip {
    padding-left: 10px;
    padding-right: 10px;
  }

  .live-track {
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 28px;
  }

  .state-chip,
  .latest-card,
  .all-job-card,
  .vlog-card {
    border-radius: 8px;
  }
}
