:root {
  --military: #0a2a66;
  --pmes: #123d7a;
  --gold: #d4a017;
  --ice: #f5f3ef;
  --graphite: #1a1a1a;
  --line: #d9dee8;
  --muted: #647084;
  --success: #15803d;
  --danger: #b42318;
  --shadow: 0 18px 55px rgba(11, 31, 58, 0.13);
}

/* Tailwind fallback for file:// preview and CDN failures */
.bg-ice { background: var(--ice); }
.bg-military { background: var(--military); }
.bg-pmes\/40 { background: rgba(18, 61, 122, 0.4); }
.bg-white { background: #fff; }
.bg-white\/10 { background: rgba(255, 255, 255, 0.1); }
.bg-white\/15 { background: rgba(255, 255, 255, 0.15); }
.bg-white\/5 { background: rgba(255, 255, 255, 0.05); }
.bg-white\/8 { background: rgba(255, 255, 255, 0.08); }
.bg-military\/95 { background: rgba(11, 31, 58, 0.95); }
.text-white { color: #fff; }
.text-white\/65 { color: rgba(255, 255, 255, 0.65); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/78 { color: rgba(255, 255, 255, 0.78); }
.text-gold { color: var(--gold); }
.text-graphite { color: var(--graphite); }
.text-military { color: var(--military); }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.border-gold\/30 { border-color: rgba(212, 160, 23, 0.3); }
.border-gold\/40 { border-color: rgba(212, 160, 23, 0.4); }
.border-slate-200 { border-color: #e2e8f0; }
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.sticky { position: sticky; }
.relative { position: relative; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.top-16 { top: 4rem; }
.-right-24 { right: -6rem; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.mx-auto { margin-left: auto; margin-right: auto; }
.-mt-16 { margin-top: -4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.place-items-center { place-items: center; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-11 { height: 2.75rem; }
.w-11 { width: 2.75rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.h-44 { height: 11rem; }
.w-44 { width: 11rem; }
.h-96 { height: 24rem; }
.w-96 { width: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-44 { max-width: 11rem; }
.min-h-\[620px\] { min-height: 620px; }
.aspect-square { aspect-ratio: 1 / 1; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-10 { gap: 2.5rem; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pb-16 { padding-bottom: 4rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.shadow-premium { box-shadow: 0 22px 70px rgba(11, 31, 58, 0.16); }
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.blur-3xl { filter: blur(64px); }
.opacity-20 { opacity: 0.2; }
.leading-tight { line-height: 1.15; }
.leading-6 { line-height: 1.5rem; }
.leading-8 { line-height: 2rem; }
.leading-\[0\.95\] { line-height: 0.95; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-tight { letter-spacing: -0.025em; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; }
.text-5xl { font-size: 3rem; }
.uppercase { text-transform: uppercase; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_420px\] { grid-template-columns: minmax(0, 1fr) 420px; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ice);
  color: var(--graphite);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.platform-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.1rem;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(18, 61, 122, 0.55), rgba(11, 31, 58, 0.96)),
    var(--military);
  box-shadow: 18px 0 45px rgba(11, 31, 58, 0.18);
}

.profile-block {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border: 1px solid rgba(212, 160, 23, 0.22);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.profile-photo {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--gold);
  border-radius: 1rem;
  color: var(--gold);
  background:
    radial-gradient(circle at 30% 20%, rgba(212, 160, 23, 0.25), transparent 2.8rem),
    #07172c;
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.profile-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.profile-copy strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
}

.profile-copy span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-actions {
  display: grid;
  gap: 0.65rem;
}

.sidebar .ghost-action {
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-note {
  margin-top: auto;
  padding: 1rem;
  border: 1px solid rgba(212, 160, 23, 0.22);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-note span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar-note strong {
  display: block;
  margin-top: 0.45rem;
  color: #ffffff;
  line-height: 1.35;
}

.app-main {
  min-width: 0;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 55;
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 42, 102, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(10, 42, 102, 0.18);
}

.mobile-menu-button {
  display: none;
  min-height: 2.55rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: var(--military);
  background: #ffffff;
  font-weight: 900;
}

.top-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-decoration: none;
}

.top-logo span:first-child {
  display: grid;
  justify-items: end;
  line-height: 1.1;
}

.top-logo strong {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 950;
  text-transform: uppercase;
}

.top-logo small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
}

.logo-wrap {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(212, 160, 23, 0.5);
  border-radius: 0.85rem;
  background: var(--military);
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.15);
}

.logo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  cursor: pointer;
}

.military-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.topnav.mobile-open {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 4.75rem;
  display: grid !important;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.topnav.mobile-open .nav-tab {
  color: var(--military);
}

.topnav.mobile-open .nav-tab:hover,
.topnav.mobile-open .nav-tab.active {
  color: var(--military);
  background: rgba(212, 160, 23, 0.14);
}

.logo-wrap.logo-failed::after {
  content: "OP";
  color: var(--gold);
  font-weight: 950;
}

.logo-hero-wrap.logo-failed {
  display: grid;
  min-height: 320px;
  place-items: center;
}

.logo-hero-wrap.logo-failed::after {
  content: "OPERACAO\A PMES";
  white-space: pre;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.nav-tab {
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-weight: 800;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.nav-tab:hover,
.nav-tab.active {
  color: #ffffff;
  border-color: rgba(212, 160, 23, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.primary-action,
.ghost-action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.15rem;
  border-radius: 0.75rem;
  font-weight: 900;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.primary-action {
  border: 1px solid rgba(212, 160, 23, 0.45);
  color: var(--military);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(212, 160, 23, 0.24);
}

.primary-action:hover {
  transform: translateY(-1px);
  background: #e1af23;
  box-shadow: 0 16px 34px rgba(212, 160, 23, 0.32);
}

.ghost-action {
  border: 1px solid var(--line);
  color: var(--military);
  background: #ffffff;
}

header .ghost-action {
  border-color: rgba(212, 160, 23, 0.35);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}

.ghost-action:hover {
  border-color: rgba(18, 61, 122, 0.35);
  transform: translateY(-1px);
}

.danger-action {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 1px solid rgba(180, 35, 24, 0.35);
  border-radius: 0.6rem;
  color: #ffffff;
  background: #b42318;
  font-weight: 900;
}

.danger-action:hover {
  background: #971b12;
}

.hero-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.compact {
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border-radius: 0.6rem;
}

.hidden {
  display: none !important;
}

.eyebrow,
.metric-card span,
.side-card span,
.correction-card span,
.module-card span,
.mock-status span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.module-card {
  display: grid;
  gap: 0.55rem;
  min-height: 10rem;
  padding: 1.25rem;
  border: 1px solid rgba(217, 222, 232, 0.92);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: left;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.module-card:hover {
  border-color: rgba(212, 160, 23, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(11, 31, 58, 0.18);
}

.module-card strong {
  color: var(--military);
  font-size: 1.05rem;
}

.module-card small {
  color: var(--muted);
  line-height: 1.5;
}

.home-page {
  background: var(--ice);
}

.home-page section {
  scroll-margin-top: 6rem;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: center;
  min-height: 520px;
  padding: clamp(2rem, 5vw, 4rem);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(10, 42, 102, 0.98), rgba(11, 31, 58, 0.96)),
    var(--military);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  opacity: 0.36;
}

.home-hero::after {
  position: absolute;
  right: -8rem;
  top: -10rem;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.15);
  content: "";
  filter: blur(12px);
}

.home-hero-content,
.hero-command-card {
  position: relative;
  z-index: 1;
}

.home-hero-content {
  max-width: 780px;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0.85rem 0 0;
  color: #ffffff;
  font-size: clamp(2.55rem, 5vw, 5.4rem);
  font-weight: 950;
  line-height: 0.96;
}

.home-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.8;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-command-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.hero-command-card img {
  width: 100%;
  border: 1px solid rgba(212, 160, 23, 0.32);
  border-radius: 0.95rem;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-command-card span,
.home-section-head span,
.home-detail span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-command-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.35;
}

.home-section,
.home-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.4rem) 2rem 0;
}

.home-section-head {
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.home-section-head h2,
.home-detail h2 {
  margin: 0.45rem 0 0;
  color: var(--military);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 950;
  line-height: 1.02;
}

.home-section-head p,
.home-detail p {
  max-width: 760px;
  margin: 0.85rem 0 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid.five-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-grid article,
.home-detail > div {
  border: 1px solid rgba(10, 42, 102, 0.1);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(10, 42, 102, 0.08);
}

.feature-grid article {
  min-height: 14rem;
  padding: 1.15rem;
}

.feature-grid i {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 0.8rem;
  color: var(--gold);
  background: var(--military);
  font-style: normal;
  font-weight: 950;
}

.feature-grid h3 {
  margin: 0;
  color: var(--military);
  font-size: 1.05rem;
  font-weight: 950;
}

.feature-grid p {
  margin: 0.65rem 0 0;
  color: #4b5563;
  line-height: 1.6;
}

.home-detail > div {
  padding: clamp(1.35rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(10, 42, 102, 0.035), rgba(212, 160, 23, 0.08)),
    #ffffff;
}

.home-detail.split > div {
  background: #ffffff;
}

.home-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 780px;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

.home-detail li {
  position: relative;
  padding: 0.8rem 0.85rem 0.8rem 2.15rem;
  border: 1px solid rgba(10, 42, 102, 0.09);
  border-radius: 0.85rem;
  color: var(--military);
  background: rgba(245, 243, 239, 0.75);
  font-weight: 850;
}

.home-detail li::before {
  position: absolute;
  left: 0.8rem;
  top: 0.86rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  color: #4b5563;
}

.home-footer strong {
  color: var(--military);
  font-weight: 950;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-footer a {
  color: #4b5563;
  font-weight: 800;
  text-decoration: none;
}

.home-footer a:hover {
  color: var(--military);
}

.apostila-page {
  display: grid;
  gap: 1.25rem;
}

.apostila-hero {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.apostila-cover {
  display: grid;
  align-content: space-between;
  min-height: 500px;
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid rgba(212, 160, 23, 0.36);
  border-radius: 1.15rem;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(10, 42, 102, 0.88), rgba(11, 31, 58, 0.98)),
    var(--military);
  box-shadow: var(--shadow);
}

.apostila-cover img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 1rem;
  aspect-ratio: 1;
  object-fit: cover;
}

.apostila-cover span,
.apostila-download-card span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apostila-cover strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--gold);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.apostila-cover small {
  display: block;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.apostila-copy,
.apostila-download-card,
.edital-grid article {
  border: 1px solid rgba(10, 42, 102, 0.1);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(10, 42, 102, 0.08);
}

.apostila-copy {
  display: grid;
  align-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(10, 42, 102, 0.035), rgba(212, 160, 23, 0.09)),
    #ffffff;
}

.apostila-copy h2 {
  max-width: 760px;
  margin: 0.45rem 0 0;
  color: var(--military);
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 950;
  line-height: 0.98;
}

.apostila-copy p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.75;
}

.apostila-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.edital-section {
  display: grid;
  gap: 0.25rem;
}

.edital-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.edital-grid article {
  min-height: 12rem;
  padding: 1rem;
}

.edital-grid span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.85rem;
  place-items: center;
  border-radius: 0.75rem;
  color: var(--gold);
  background: var(--military);
  font-size: 0.78rem;
  font-weight: 950;
}

.edital-grid strong {
  display: block;
  color: var(--military);
  font-size: 1rem;
  font-weight: 950;
}

.edital-grid p {
  margin: 0.65rem 0 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.55;
}

.apostila-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  border-color: rgba(212, 160, 23, 0.28);
  background:
    linear-gradient(135deg, rgba(10, 42, 102, 0.04), rgba(212, 160, 23, 0.1)),
    #ffffff;
}

.apostila-download-card h3 {
  margin: 0.35rem 0 0;
  color: var(--military);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 950;
}

.apostila-download-card p {
  max-width: 680px;
  margin: 0.5rem 0 0;
  color: #4b5563;
  line-height: 1.65;
}

.home-info {
  padding-bottom: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.info-grid article {
  min-height: 10rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

.info-grid span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-grid strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--military);
  font-size: 1.4rem;
  font-weight: 950;
}

.info-grid p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.method-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(212, 160, 23, 0.32);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.05), rgba(212, 160, 23, 0.1)),
    #ffffff;
  box-shadow: var(--shadow);
}

.method-panel h3 {
  margin: 0.35rem 0 0;
  color: var(--military);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 950;
}

.method-panel p:not(.eyebrow) {
  max-width: 48rem;
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 9.5rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

.metric-card::after {
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(18, 61, 122, 0.07);
  content: "";
}

.metric-icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.8rem;
  place-items: center;
  border-radius: 0.7rem;
  color: var(--gold);
  background: var(--military);
  font-weight: 950;
}

.metric-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--military);
  font-size: 2.2rem;
  line-height: 1;
}

.auth-panel,
.question-card,
.solve-card,
.side-card,
.download-panel,
.mock-form,
.correction-card,
.essay-form,
.history-item {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem;
}

.auth-panel h3,
.section-heading h2 {
  color: var(--military);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.auth-panel h3 {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
}

.auth-panel p,
.question-card p,
.download-panel p,
.side-card p,
.correction-card p,
.history-item small {
  color: var(--muted);
}

.question-list-card p {
  color: #1f2937;
}

.auth-form,
.essay-form {
  display: grid;
  gap: 0.8rem;
}

.auth-form label,
.essay-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--military);
  font-weight: 850;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
}

.app-page,
.tab-panel {
  display: none;
  scroll-margin-top: 5.75rem;
}

.app-page.active-page,
.tab-panel.active-page {
  display: block;
}

.private-summary.active-page {
  display: grid;
}

.access-alert {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: 0.85rem;
  color: var(--military);
  background: rgba(212, 160, 23, 0.12);
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.section-heading h2 {
  max-width: 48rem;
  margin-top: 0.35rem;
  color: var(--gold);
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  line-height: 1.04;
}

.page-section > .section-heading h2 {
  color: var(--gold);
}

.workspace .section-heading h2 {
  color: var(--military);
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #ffffff;
  color: var(--graphite);
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

select:focus,
input:focus,
textarea:focus {
  border-color: rgba(18, 61, 122, 0.45);
  box-shadow: 0 0 0 4px rgba(18, 61, 122, 0.11);
}

select,
input {
  min-height: 2.75rem;
  padding: 0 0.8rem;
}

textarea {
  min-height: 21rem;
  padding: 1rem;
  line-height: 1.65;
  resize: vertical;
}

.filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filters select {
  width: auto;
  min-width: 13rem;
}

.questions-page-head {
  margin-bottom: 1rem;
}

.questions-page-head h2 {
  max-width: 760px;
  margin: 0.35rem 0 0;
  color: var(--military);
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 950;
  line-height: 1.02;
}

.questions-page-head p:not(.eyebrow) {
  max-width: 780px;
  margin: 0.7rem 0 0;
  color: #4b5563;
  line-height: 1.7;
}

.question-filter-panel {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) repeat(4, minmax(150px, 1fr)) auto;
  gap: 0.85rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(10, 42, 102, 0.1);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(10, 42, 102, 0.08);
}

.question-filter-panel label {
  display: grid;
  gap: 0.4rem;
  color: var(--military);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.question-filter-panel select,
.question-filter-panel input {
  min-width: 0;
}

.filter-actions {
  display: flex;
  gap: 0.55rem;
}

.question-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(10, 42, 102, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
}

.question-results-bar strong {
  color: var(--military);
  font-weight: 950;
}

.question-results-bar span {
  color: #4b5563;
  font-size: 0.9rem;
}

.question-bank {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.question-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.question-card:hover {
  border-color: rgba(18, 61, 122, 0.28);
}

.question-list-card {
  border-radius: 0.65rem;
  box-shadow: 0 10px 28px rgba(10, 42, 102, 0.06);
}

.question-card-header {
  display: grid;
  grid-template-columns: 3.25rem auto minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: stretch;
  min-height: 3.4rem;
  background: #eef1f4;
}

.question-card-header > * {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 0.9rem;
  border-right: 1px solid rgba(10, 42, 102, 0.08);
}

.question-card-header .question-index {
  justify-content: center;
  color: #7a8494;
  background: #ffffff;
  font-weight: 850;
}

.question-card-header strong {
  color: #ffffff;
  background: #aab3bd;
  font-weight: 950;
}

.question-card-header span {
  color: var(--military);
  font-weight: 850;
}

.question-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  padding: 1rem 1.1rem;
  border-bottom: 2px solid #e5e7eb;
  color: #ff6b1a;
}

.question-meta-row span {
  color: #ff6b1a;
  line-height: 1.45;
}

.question-meta-row b {
  color: #111827;
}

.question-statement {
  padding: 1.45rem 1.6rem 1rem;
  color: #1f2937;
  font-size: 1.08rem;
  line-height: 1.75;
}

.question-options-preview {
  display: grid;
  gap: 1.15rem;
  padding: 1.05rem 1.6rem 1.25rem;
}

.question-preview-option {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.question-preview-option span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid #ff7a1a;
  border-radius: 999px;
  color: #ff7a1a;
  font-weight: 850;
}

.question-preview-option p {
  margin: 0;
  color: #1f2937;
  font-size: 1.02rem;
  line-height: 1.65;
}

.question-card-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.6rem 1.35rem;
}

.question-status {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 850;
}

.question-tool-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid #e5e7eb;
}

.question-tool-row button {
  min-height: 4.3rem;
  border: 0;
  border-right: 1px solid #e5e7eb;
  color: #1f2937;
  background: #ffffff;
  font-weight: 850;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.question-tool-row button:hover {
  color: var(--military);
  background: #f8fafc;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 1.5rem;
  border: 1px dashed rgba(10, 42, 102, 0.22);
  border-radius: 1rem;
  background: #ffffff;
  text-align: center;
}

.empty-state strong {
  color: var(--military);
  font-size: 1.25rem;
  font-weight: 950;
}

.empty-state p {
  margin: 0.5rem 0 0;
  color: #4b5563;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tag {
  align-self: start;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--pmes);
  background: rgba(18, 61, 122, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
}

.question-card h3,
.download-panel h3 {
  margin: 0;
  color: var(--military);
  font-size: 1.08rem;
  font-weight: 950;
}

.solve-layout,
.mock-layout,
.essay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

.solve-card,
.mock-form,
.essay-form,
.download-panel {
  padding: 1.25rem;
}

.solve-card {
  display: grid;
  gap: 1rem;
}

.option-list,
.mock-question {
  display: grid;
  gap: 0.65rem;
}

.option-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  color: var(--graphite);
  background: #fbfcff;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.option-row:hover {
  border-color: rgba(18, 61, 122, 0.35);
  background: #ffffff;
  transform: translateX(2px);
}

.option-row.correct {
  border-color: rgba(21, 128, 61, 0.45);
  background: #ecfdf3;
}

.option-row.wrong {
  border-color: rgba(180, 35, 24, 0.45);
  background: #fff1f0;
}

.feedback-box {
  padding: 1rem;
  border: 1px solid rgba(18, 61, 122, 0.12);
  border-radius: 0.85rem;
  color: #334155;
  background: #f8fafc;
  line-height: 1.6;
}

.side-card,
.correction-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.15rem;
}

.side-card strong,
.correction-card strong {
  display: block;
  color: var(--military);
  font-size: 2.15rem;
  line-height: 1;
}

.premium-download {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  border-color: rgba(212, 160, 23, 0.35);
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.04), rgba(212, 160, 23, 0.08)),
    #ffffff;
}

.premium-download::after {
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.12);
  content: "";
}

.download-panel ul,
.correction-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
}

.mock-page-head {
  margin-bottom: 1rem;
}

.mock-page-head h2 {
  max-width: 760px;
  margin: 0.35rem 0 0;
  color: var(--military);
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 950;
  line-height: 1.02;
}

.mock-page-head p:not(.eyebrow) {
  max-width: 780px;
  margin: 0.75rem 0 0;
  color: #4b5563;
  line-height: 1.7;
}

.mock-list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.mock-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid rgba(10, 42, 102, 0.1);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(10, 42, 102, 0.08);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.mock-card:hover,
.mock-card.active {
  border-color: rgba(212, 160, 23, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(10, 42, 102, 0.12);
}

.mock-card-main {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.mock-number {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 0.85rem;
  color: var(--gold);
  background: var(--military);
  font-weight: 950;
}

.mock-card span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-card h3 {
  margin: 0.2rem 0 0;
  color: var(--military);
  font-size: 1.25rem;
  font-weight: 950;
}

.mock-card p {
  margin: 0.3rem 0 0;
  color: #4b5563;
  line-height: 1.55;
}

.mock-card-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.mock-hover-panel {
  position: absolute;
  right: 1rem;
  top: calc(100% - 0.35rem);
  z-index: 4;
  display: none;
  min-width: 240px;
  gap: 0.45rem;
  padding: 0.95rem;
  border: 1px solid rgba(10, 42, 102, 0.12);
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(10, 42, 102, 0.16);
}

.mock-card:hover .mock-hover-panel {
  display: grid;
}

.mock-hover-panel strong {
  color: var(--military);
  font-weight: 950;
}

.mock-hover-panel span {
  color: #4b5563;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

.mock-taking-area {
  display: grid;
}

.mock-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.mock-status > div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

.mock-status strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--military);
  font-size: 1.8rem;
  line-height: 1;
}

.mock-form {
  display: grid;
  gap: 1.1rem;
}

.mock-question {
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.mock-question:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mock-question legend {
  margin-bottom: 0.75rem;
  color: var(--military);
}

.essay-history {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.history-item {
  padding: 0.95rem;
}

.history-item strong {
  display: block;
  color: var(--military);
}

.user-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.25rem;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.04), rgba(212, 160, 23, 0.08)),
    #ffffff;
  box-shadow: var(--shadow);
}

.user-photo {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.avatar-frame {
  overflow: hidden;
  border: 4px solid var(--gold);
  border-radius: 1rem;
  background: var(--military);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.18);
}

.avatar-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.user-info {
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.user-info h3 {
  margin: 0;
  color: var(--military);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.user-info p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.profile-stats div {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #ffffff;
}

.profile-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-stats strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--military);
  font-size: 1.7rem;
}

@media (max-width: 1060px) {
  .platform-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .app-topbar {
    padding: 0.85rem 1rem;
  }

  .top-logo span:first-child {
    display: none;
  }

  .home-hero,
  .feature-grid,
  .feature-grid.five-grid,
  .apostila-hero {
    grid-template-columns: 1fr;
  }

  .hero-command-card {
    max-width: 360px;
  }

  .apostila-cover {
    min-height: auto;
  }

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

  .question-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-card-header {
    grid-template-columns: 3rem auto;
  }

  .question-card-header span {
    grid-column: 1 / -1;
    min-height: 2.6rem;
  }

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

  .mock-card-actions {
    flex-wrap: wrap;
  }

  .filter-actions {
    grid-column: 1 / -1;
  }

  .apostila-download-card {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-panel,
  .user-card,
  .solve-layout,
  .mock-layout,
  .essay-layout,
  .premium-download {
    grid-template-columns: 1fr;
  }

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

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

  .method-panel {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 680px) {
  .platform-shell {
    display: block;
  }

  .sidebar {
    position: relative;
    min-height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .profile-block {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    flex: 1;
    padding: 0.65rem;
  }

  .profile-photo {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
  }

  .sidebar-actions {
    grid-template-columns: repeat(2, auto);
  }

  .sidebar-actions .primary-action,
  .sidebar-actions .ghost-action {
    width: auto;
  }

  .sidebar-actions .ghost-action[data-page-link="usuario"],
  .sidebar-note {
    display: none;
  }

  .app-topbar {
    min-height: auto;
    padding: 0.7rem;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
  }

  .topnav {
    display: none;
  }

  .top-logo .logo-wrap {
    width: 2.85rem;
    height: 2.85rem;
  }

  .home-hero {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .home-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.6rem);
  }

  .home-section,
  .home-detail {
    padding: 1.5rem 1rem 0;
  }

  .home-detail ul {
    grid-template-columns: 1fr;
  }

  .home-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.5rem 1rem;
  }

  .question-filter-panel {
    grid-template-columns: 1fr;
  }

  .question-card-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .question-card-header > * {
    min-height: 2.8rem;
    border-right: 0;
    border-bottom: 1px solid rgba(10, 42, 102, 0.08);
  }

  .question-card-header .question-index {
    justify-content: flex-start;
  }

  .question-statement,
  .question-options-preview,
  .question-card-actions {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .question-tool-row {
    grid-template-columns: 1fr;
  }

  .question-tool-row button {
    min-height: 3.35rem;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .mock-card-main {
    grid-template-columns: 1fr;
  }

  .mock-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mock-hover-panel {
    position: static;
    display: grid;
    margin-top: 0.25rem;
    box-shadow: none;
  }

  .filter-actions,
  .question-results-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .edital-grid {
    grid-template-columns: 1fr;
  }

  .question-bank,
  .info-grid,
  .mock-status {
    grid-template-columns: 1fr;
  }

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

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .filters,
  .filters select,
  .filter-actions .primary-action,
  .filter-actions .ghost-action,
  .primary-action,
  .ghost-action {
    width: 100%;
  }
}
