:root {
  --navy: #061f42;
  --navy-2: #092b57;
  --teal: #008f8a;
  --teal-2: #13bbb2;
  --ink: #0d1d35;
  --muted: #5f6d7d;
  --line: #d9e4eb;
  --soft: #f3f8fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 31, 66, 0.11);
  --radius: 6px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
}

.topbar__inner {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.topbar__inner a,
.topbar__link {
  opacity: 0.95;
}

.topbar__inner span {
  margin-left: auto;
}

.topbar__link {
  border: 0;
  color: var(--white);
  background: transparent;
  padding: 0;
  font-size: 12px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 315px;
}

.brand img {
  width: 118px;
  height: 58px;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: multiply;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  display: block;
  max-width: 270px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.35;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.navlinks a {
  position: relative;
  padding: 30px 0;
}

.navlinks a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 0.2s ease;
}

.navlinks a:hover::after,
.navlinks a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #d7e5ea;
  border-radius: 999px;
  padding: 3px;
  background: #f7fbfc;
}

.language-switch button {
  min-height: 28px;
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 9px;
  color: var(--navy);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.language-switch button:hover,
.language-switch button:focus-visible {
  color: var(--white);
  background: var(--teal);
}

.google-translate-element,
.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}

.search-button,
.menu-toggle {
  border: 0;
  background: transparent;
}

.search-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy);
}

.search-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(19, 187, 178, 0.25), transparent 28%),
    linear-gradient(112deg, #061f42 0%, #061f42 43%, #0b3264 43%, #081a35 100%);
  color: var(--white);
  padding: 52px 0 34px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 46px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__copy h1 {
  max-width: 610px;
  margin: 0 0 16px;
  font-size: clamp(31px, 3.2vw, 43px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero__copy p {
  max-width: 510px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  border: 1px solid var(--teal);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #007c78);
  box-shadow: 0 10px 20px rgba(0, 143, 138, 0.24);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.button--ghost-dark {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: var(--white);
}

.hero__media {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(4, 17, 35, 0.54);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.hero-slider__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 2;
  min-height: 0;
  border-radius: 12px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 100%;
  border-radius: 0;
  background: #071b35;
}

.hero-slide__image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.hero-slide__image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 35, 0.18), rgba(4, 17, 35, 0.02) 48%, rgba(4, 17, 35, 0.2)),
    linear-gradient(0deg, rgba(4, 17, 35, 0.26), transparent 58%);
  content: "";
}

.hero-slide__content {
  display: none;
}

.hero-slide__content strong {
  color: var(--white);
  font-size: 26px;
  line-height: 1.15;
}

.hero-slide__content p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.hero-slide__content a {
  align-self: flex-start;
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--white);
  background: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-slider__controls {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0;
  pointer-events: none;
}

.hero-slider__controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(4, 17, 35, 0.55);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  pointer-events: auto;
}

.hero-slider__controls svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(4, 17, 35, 0.42);
  pointer-events: auto;
}

.hero-slider__dots button {
  width: 9px;
  height: 9px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.36);
}

.hero-slider__dots button.is-active {
  width: 26px;
  background: var(--teal);
}

.hero__feature-strip {
  position: static;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero__grid > .hero__feature-strip {
  grid-column: 1 / 3;
  width: 100%;
}

.hero__feature-strip article {
  display: grid;
  min-height: 94px;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.hero__feature-strip article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  grid-row: span 2;
  border: 1px solid rgba(21, 198, 188, 0.42);
  border-radius: 999px;
  color: var(--teal-2);
  background: rgba(21, 198, 188, 0.1);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.hero__feature-strip strong,
.hero__feature-strip small {
  display: block;
}

.hero__feature-strip strong {
  margin-top: 0;
  font-size: 13px;
}

.hero__feature-strip small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.journal-facts {
  padding: 30px 0 18px;
  background: var(--white);
}

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

.fact-card,
.subscribe-card,
.current-issue,
.announcements,
.portal-form,
.reviewer-panel,
.policies article,
.archive-grid article,
.profile,
.role-card,
.application-flow {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fact-card,
.subscribe-card {
  min-height: 126px;
  padding: 20px;
}

.fact-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal);
  background: #e7f5f4;
  font-size: 12px;
  font-weight: 800;
}

.fact-card h2,
.subscribe-card h2 {
  margin: 12px 0 3px;
  font-size: 16px;
}

.fact-card p,
.subscribe-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.fact-card a,
.announcements a,
.section-heading-row a {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.subscribe-card {
  color: var(--white);
  background: linear-gradient(145deg, var(--teal), #006d72);
}

.subscribe-card p {
  color: rgba(255, 255, 255, 0.84);
}

.inline-form {
  display: flex;
  gap: 8px;
}

.inline-form input,
.inline-form button {
  min-width: 0;
  border: 0;
  border-radius: 4px;
  padding: 10px 11px;
  font-size: 12px;
}

.inline-form input {
  flex: 1;
}

.inline-form button {
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 52px 0;
}

.flash {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
}

.flash--success {
  color: #075d59;
  background: #e6f7f5;
}

.flash--error {
  color: #8a1f11;
  background: #fff1ef;
}

.section h2 {
  position: relative;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.2;
}

.section h2::after {
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 12px;
  background: var(--teal);
  content: "";
}

.section-copy p,
.section-heading-row p {
  margin: 0 0 20px;
  color: var(--muted);
}

.overview__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--navy);
  background: var(--soft);
  font-size: 12px;
  font-weight: 700;
}

.current-issue {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 18px;
  padding: 18px;
}

.current-issue img {
  width: 122px;
  height: 172px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  box-shadow: 0 14px 24px rgba(6, 31, 66, 0.2);
}

.current-issue h2 {
  margin-bottom: 14px;
}

.current-issue h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.current-issue p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.announcements {
  padding: 20px;
}

.announcements article {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.announcements article:first-of-type {
  border-top: 0;
}

.announcements strong,
.announcements span {
  display: block;
}

.announcements strong {
  font-size: 14px;
}

.announcements span {
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.section-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.metrics {
  background: var(--soft);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.metrics article {
  padding: 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
}

.articles {
  background: var(--white);
}

.filter-tools {
  display: flex;
  gap: 10px;
}

.filter-tools input,
.filter-tools select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
}

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

.article-list article {
  display: grid;
  grid-template-columns: 142px 1fr 255px;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-list span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-list h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 17px;
}

.article-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.article-list div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.article-list a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.submission {
  background: linear-gradient(180deg, var(--soft), var(--white));
}

.submission__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: start;
}

.workflow {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.workflow strong {
  color: var(--navy);
}

.workflow span {
  color: var(--muted);
}

.portal-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.portal-form h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.portal-cta-card p {
  margin: 0;
  color: var(--muted);
}

.portal-cta-card .button {
  margin-top: 4px;
}

.portal-form label,
.modal label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.portal-form input,
.portal-form select,
.portal-form textarea,
.modal input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
}

.register {
  background: var(--white);
}

.register__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 42px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
}

.steps span {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.steps .is-active {
  color: var(--teal);
  font-weight: 800;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.role-card {
  min-height: 150px;
  padding: 24px;
  text-align: left;
  color: var(--ink);
  transition: border 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.role-card:hover,
.role-card.is-selected {
  border-color: var(--teal);
  box-shadow: 0 14px 34px rgba(0, 143, 138, 0.13);
  transform: translateY(-1px);
}

.role-card strong,
.role-card span {
  display: block;
}

.role-card strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 17px;
}

.role-card span {
  color: var(--muted);
  font-size: 13px;
}

.application-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  background: #f6fbfb;
}

.register-form {
  margin-top: 22px;
}

.application-flow article {
  min-width: 0;
}

.application-flow strong,
.application-flow span {
  display: block;
}

.application-flow strong {
  color: var(--navy);
  font-size: 13px;
}

.application-flow span {
  color: var(--muted);
  font-size: 12px;
}

.reviewer-panel {
  padding: 24px;
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.reviewer-panel h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 20px;
}

.reviewer-panel ul,
.check-list {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.reviewer-panel li,
.check-list li {
  position: relative;
  padding-left: 22px;
}

.reviewer-panel li::before,
.check-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.reviewer-panel strong,
.reviewer-panel span {
  display: block;
}

.reviewer-panel strong {
  color: var(--navy);
  font-size: 13px;
}

.reviewer-panel span,
.check-list {
  color: var(--muted);
  font-size: 13px;
}

.editorial {
  background: var(--soft);
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-controls button,
.board-filter button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 13px;
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.tab-controls .is-active,
.board-filter .is-active {
  border-color: var(--teal);
  color: var(--white);
  background: var(--teal);
}

.board-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
}

.board-filter {
  display: grid;
  align-content: start;
  gap: 8px;
}

.board-filter button {
  width: 100%;
  text-align: left;
}

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

.profile {
  padding: 18px;
}

.profile--wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr 1.1fr auto;
  align-items: center;
  gap: 18px;
}

.avatar {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-weight: 800;
}

.profile span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.profile h3 {
  margin: 4px 0;
  color: var(--navy);
  font-size: 16px;
}

.profile p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.profile a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.policy-grid article {
  padding: 24px;
}

.archives {
  background: var(--soft);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.archive-grid article {
  overflow: hidden;
  padding: 20px;
}

.archive-cover {
  display: block;
  width: 100%;
  aspect-ratio: 0.707;
  margin: -4px 0 16px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  background: var(--white);
  box-shadow: 0 16px 30px rgba(6, 31, 66, 0.14);
}

.archive-grid strong,
.archive-grid span {
  display: block;
}

.archive-grid strong {
  color: var(--navy);
  font-size: 18px;
}

.archive-grid span {
  margin: 4px 0 10px;
  color: var(--teal);
  font-weight: 800;
}

.archive-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.archive-grid a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  color: var(--white);
  background: var(--navy);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.82fr) 1.25fr;
  gap: 28px;
  padding: 36px 0;
}

.footer__grid h2,
.footer__grid h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
}

.footer__grid p,
.footer__grid a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.social-row a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.modal {
  width: min(560px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(6, 31, 66, 0.62);
}

.modal form[method="dialog"] {
  display: flex;
  justify-content: flex-end;
}

.modal form[method="dialog"] button {
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: 26px;
  line-height: 1;
}

.modal h2 {
  margin: 0 0 16px;
  color: var(--navy);
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.search-results a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

[data-subscribe-status],
[data-submission-status] {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .topbar__inner {
    gap: 12px;
  }

  .navlinks {
    gap: 13px;
    font-size: 12px;
  }

  .brand {
    flex-basis: 300px;
    min-width: 0;
  }

  .brand img {
    width: 88px;
    height: 50px;
  }

  .brand small {
    max-width: 205px;
  }

  .hero__grid,
  .overview__grid,
  .submission__grid,
  .register__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 320px;
    padding: 0;
  }

  .hero__feature-strip {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .subscribe-card {
    grid-column: 1 / -1;
  }

  .footer__grid,
  .policy-grid,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .article-list div {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar__inner {
    min-height: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 8px 0;
  }

  .topbar__inner span {
    margin-left: 0;
  }

  .navbar__inner {
    min-height: 72px;
  }

  .brand {
    flex-basis: auto;
    min-width: 0;
  }

  .brand img {
    width: 82px;
    height: 42px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navlinks {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: 8px 18px 18px;
  }

  .navlinks.is-open {
    display: flex;
  }

  .navlinks a {
    padding: 13px 0;
  }

  .navlinks a::after {
    bottom: 8px;
  }

  .hero__copy {
    padding: 0;
  }

  .hero__copy h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.2;
    overflow-wrap: normal;
  }

  .hero__media {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 0;
  }

  .hero-slider {
    width: 100%;
  }

  .hero-slider__viewport {
    min-height: 0;
  }

  .hero-slide {
    display: block;
  }

  .hero-slide__image {
    min-height: 100%;
  }

  .hero-slide__image img {
    max-height: none;
  }

  .hero-slide__content {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .hero-slide__content strong {
    font-size: 22px;
  }

  .hero__feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 40px 0;
  }

  .section-heading-row,
  .filter-tools,
  .footer__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .metrics__grid,
  .role-grid,
  .application-flow,
  .board-layout,
  .board-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .fact-grid,
  .footer__grid,
  .policy-grid,
  .archive-grid,
  .current-issue {
    grid-template-columns: 1fr;
  }

  .inline-form {
    flex-direction: column;
  }

  .hero__feature-strip {
    position: static;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .hero__media {
    display: flex;
    align-items: center;
    min-height: auto;
  }

  .hero-slider {
    width: 100%;
    max-width: 100%;
  }

  .workflow li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

.auth-page,
.portal-page {
  background: #eef5f7;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(6, 31, 66, 0.88), rgba(0, 143, 138, 0.72)),
    url("../issue-2026.jpeg") center / cover;
}

.auth-card {
  width: min(460px, 100%);
  border-radius: 10px;
  padding: 34px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(6, 31, 66, 0.28);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--navy);
  font-weight: 800;
}

.auth-brand img {
  width: 76px;
  height: 42px;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: multiply;
}

.auth-card h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 32px;
  letter-spacing: 0;
}

.auth-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
}

.auth-links a {
  color: var(--teal);
}

.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  background: var(--white);
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
}

.portal-brand img {
  width: 70px;
  height: 38px;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: multiply;
}

.portal-topbar nav {
  display: flex;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
}

.portal-topbar nav a {
  color: var(--navy);
}

.portal-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 64px);
}

.portal-sidebar {
  position: sticky;
  top: 64px;
  align-self: start;
  display: grid;
  gap: 8px;
  min-height: calc(100vh - 64px);
  padding: 22px;
  background: var(--navy);
}

.portal-sidebar a {
  border-radius: 6px;
  padding: 12px 13px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.portal-sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.user-card {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.user-card span,
.user-card small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.portal-main {
  min-width: 0;
  padding: 28px;
}

.portal-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 10px;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0a3b73);
}

.portal-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.portal-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.portal-hero--module {
  margin-bottom: 18px;
  background: linear-gradient(135deg, #082044, #008f8b);
}

.portal-panel[hidden],
.finance-grid[hidden] {
  display: none !important;
}

.system-alert {
  display: grid;
  gap: 3px;
  margin: 16px 0;
  border: 1px solid #f1d28a;
  border-radius: 8px;
  padding: 14px 16px;
  color: #5d4100;
  background: #fff7dd;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.portal-stats article,
.portal-panel,
.manuscript-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.portal-stats article {
  padding: 18px;
}

.portal-stats strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.portal-stats span {
  color: var(--muted);
  font-size: 13px;
}

.portal-panel {
  margin-top: 18px;
  padding: 22px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 24px;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
}

.portal-form--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-shadow: none;
}

.portal-form--grid .span-2 {
  grid-column: 1 / -1;
}

.workflow-board {
  display: grid;
  gap: 14px;
}

.manuscript-card {
  padding: 18px;
}

.manuscript-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tracking {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tracking--muted {
  margin-top: 3px;
  color: var(--muted);
  letter-spacing: 0;
}

.manuscript-card h3 {
  margin: 5px 0;
  color: var(--navy);
  font-size: 20px;
}

.manuscript-card p {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  min-width: 132px;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: #eaf3f6;
  font-size: 12px;
}

.status-under_review {
  color: #735300;
  background: #fff0bf;
}

.status-payment_pending,
.status-copyright_pending,
.status-revision_requested {
  color: #735300;
  background: #fff0bf;
}

.status-published,
.status-accepted,
.status-payment_received,
.status-copyright_agreed {
  color: #075d59;
  background: #dff5f1;
}

.status-rejected {
  color: #8a1f11;
  background: #ffe5e0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.meta-row a {
  color: var(--teal);
  font-weight: 800;
}

.editor-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.editor-actions form {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  gap: 8px;
}

.editor-actions form:first-child {
  grid-template-columns: 1fr auto;
}

.editor-actions input,
.editor-actions select,
.editor-actions button,
.compact-table button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 10px;
  background: var(--white);
  font-size: 13px;
}

.editor-actions button,
.compact-table button {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
  font-weight: 800;
}

.review-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.review-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.review-form select,
.review-form textarea {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px;
}

.review-note {
  border-left: 3px solid var(--teal);
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--soft);
}

.review-note p {
  margin: 4px 0 0;
}

.clearance-overview,
.clearance-steps {
  display: grid;
  gap: 10px;
}

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

.clearance-overview article,
.clearance-panel,
.discussion-panel,
.letter-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.clearance-overview article {
  padding: 14px;
}

.clearance-overview strong,
.clearance-overview span {
  display: block;
}

.clearance-overview strong {
  color: var(--navy);
  font-size: 13px;
}

.clearance-overview span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.clearance-panel,
.discussion-panel {
  margin-top: 14px;
  padding: 14px;
}

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

.clearance-steps span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.clearance-steps .is-done {
  border-color: rgba(0, 150, 143, 0.28);
  color: #075d59;
  background: #dff5f1;
}

.letter-preview {
  margin-top: 12px;
  padding: 12px;
}

.letter-preview summary,
.discussion-panel summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.letter-preview div {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--ink);
  line-height: 1.65;
}

.inline-workflow-form,
.discussion-form {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.inline-workflow-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.inline-workflow-form input,
.discussion-form input,
.discussion-form select,
.discussion-form textarea {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--white);
}

.inline-workflow-form button,
.discussion-form button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 850;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.discussion-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.discussion-list article {
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 12px;
  background: var(--white);
}

.discussion-list strong,
.discussion-list span {
  display: block;
}

.discussion-list strong {
  color: var(--navy);
}

.discussion-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.discussion-list p {
  margin: 8px 0 0;
}

.empty-state--compact {
  padding: 12px;
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.finance-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

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

.finance-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdff;
}

.finance-list strong,
.finance-list span,
.finance-list small {
  display: block;
}

.finance-list strong {
  color: var(--navy);
}

.finance-list span,
.finance-list small {
  color: var(--muted);
  font-size: 12px;
}

.finance-actions {
  display: grid;
  gap: 7px;
  min-width: 150px;
}

.finance-actions a,
.finance-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--navy);
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.finance-actions button {
  border-color: var(--teal);
  color: #ffffff;
  background: var(--teal);
}

.finance-actions form {
  display: grid;
  gap: 7px;
}

.finance-actions input {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
}

.document-page {
  min-height: 100vh;
  background: #eef5f7;
  padding: 34px 16px 92px;
}

.document-sheet {
  width: min(920px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(5, 28, 57, 0.08);
}

.document-header {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border-bottom: 4px solid var(--teal);
  padding-bottom: 20px;
}

.document-header img {
  width: 180px;
  height: 118px;
  object-fit: contain;
  object-position: center;
}

.document-header strong,
.document-header span {
  display: block;
}

.document-header strong {
  color: var(--navy);
  font-size: 28px;
}

.document-header span {
  color: var(--muted);
}

.document-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0;
}

.document-title h1 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
}

.document-title p {
  margin: 0;
  color: var(--muted);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.document-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdff;
}

.document-grid strong,
.document-grid span {
  display: block;
}

.document-grid strong {
  color: var(--teal);
  font-size: 12px;
  text-transform: uppercase;
}

.document-grid span {
  margin-top: 5px;
  color: var(--navy);
  font-weight: 850;
}

.document-body {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.document-body h2 {
  color: var(--navy);
}

.document-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.finance-report-strip {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #f7fbfc 0%, #ffffff 100%);
}

.finance-report-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.finance-report-head h3,
.finance-mini-reports h4 {
  margin: 0 0 6px;
  color: var(--navy);
}

.finance-report-head p {
  margin: 0;
  color: var(--muted);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.report-actions a,
.report-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--navy);
  background: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.report-actions a:first-child,
.report-filter button {
  border-color: var(--teal);
  color: #ffffff;
  background: var(--teal);
}

.finance-kpi-grid,
.report-kpi-grid,
.audit-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.finance-kpi-grid article,
.report-kpi-grid article,
.audit-focus-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #ffffff;
}

.finance-kpi-grid span,
.report-kpi-grid span,
.audit-focus-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.finance-kpi-grid strong,
.report-kpi-grid strong,
.audit-focus-grid strong {
  display: block;
  margin: 6px 0;
  color: var(--navy);
  font-size: 20px;
}

.finance-kpi-grid small,
.report-kpi-grid small {
  color: var(--muted);
}

.finance-mini-reports,
.report-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

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

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

.finance-mini-reports section,
.report-columns article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #ffffff;
}

.report-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.report-row:first-of-type {
  border-top: 0;
}

.report-row strong {
  color: var(--navy);
  text-align: right;
}

.audit-focus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.audit-focus-grid strong {
  margin-top: 0;
  font-size: 15px;
}

.report-page {
  background: #eef6f8;
}

.report-sheet {
  max-width: 1180px;
}

.report-sheet .document-header {
  grid-template-columns: 230px minmax(0, 1fr);
}

.report-sheet .document-header img {
  width: 220px;
  height: 128px;
  max-height: 128px;
  object-fit: contain;
}

.report-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.report-filter input,
.report-filter select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--navy);
  background: #ffffff;
  font-weight: 700;
}

.report-table {
  margin-top: 20px;
  overflow-x: auto;
}

.report-table h2,
.report-columns h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.report-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  font-size: 12px;
}

.report-table th,
.report-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.report-table th {
  color: var(--navy);
  background: #f3f8fa;
  font-size: 11px;
  text-transform: uppercase;
}

.report-table small {
  color: var(--muted);
}

.report-table .num {
  text-align: right;
  white-space: nowrap;
}

@media print {
  .document-page {
    background: #ffffff;
    padding: 0;
  }

  .document-sheet {
    width: 100%;
    border: 0;
    box-shadow: none;
  }

  .template-toolbar {
    display: none !important;
  }

  .no-print {
    display: none !important;
  }

  .report-sheet {
    max-width: none;
  }

  .report-table table {
    font-size: 10px;
  }
}

.compact-table,
.activity-list {
  display: grid;
  gap: 10px;
}

.compact-table article,
.activity-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
}

.user-table article {
  grid-template-columns: 1fr 190px 90px;
}

.compact-table strong,
.compact-table span,
.activity-list strong,
.activity-list span,
.activity-list small {
  display: block;
}

.compact-table span,
.activity-list span,
.activity-list small {
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  padding: 22px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    min-height: auto;
  }

  .portal-stats,
  .portal-form--grid,
  .editor-actions form,
  .editor-actions form:first-child,
  .clearance-overview,
  .clearance-steps,
  .inline-workflow-form,
  .finance-kpi-grid,
  .finance-grid,
  .finance-mini-reports,
  .report-kpi-grid,
  .report-columns,
  .report-columns--two,
  .audit-focus-grid,
  .finance-list article,
  .document-grid,
  .user-table article,
  .compact-table article {
    grid-template-columns: 1fr;
  }

  .portal-hero,
  .panel-heading,
  .finance-report-head,
  .manuscript-card__head,
  .document-title,
  .document-footer {
    flex-direction: column;
  }

  .report-actions,
  .report-filter {
    justify-content: stretch;
  }

  .report-actions a,
  .report-filter input,
  .report-filter select,
  .report-filter button {
    width: 100%;
  }

  .document-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .document-header img {
    justify-self: center;
  }
}

/* CMS polish pass */
.auth-shell {
  padding: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(19, 187, 178, 0.22), transparent 28%),
    linear-gradient(132deg, #061f42 0%, #092b57 48%, #008f8a 100%);
}

.auth-card--split {
  display: grid;
  width: min(1040px, 100%);
  min-height: 620px;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--white);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(6, 31, 66, 0.94), rgba(6, 31, 66, 0.72)),
    url("../issue-2026.jpeg") center / cover;
}

.auth-panel .auth-brand {
  color: var(--white);
}

.auth-panel .auth-brand img {
  border-radius: 7px;
  background: var(--white);
  mix-blend-mode: normal;
}

.auth-panel h1 {
  max-width: 520px;
  margin: auto 0 14px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
}

.auth-panel p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.auth-feature-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.auth-feature-list article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.auth-feature-list strong,
.auth-feature-list span {
  display: block;
}

.auth-feature-list strong {
  color: var(--white);
}

.auth-feature-list span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.auth-login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.auth-login-heading span,
.portal-kicker {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--teal);
  background: #e7f5f4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-login-heading h2 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 34px;
  letter-spacing: 0;
}

.auth-form {
  border: 0;
  padding: 0;
  box-shadow: none;
}

.auth-form input {
  min-height: 50px;
  border-color: #cbd9e2;
  background: #fbfdfe;
}

.auth-form .button {
  min-height: 50px;
  margin-top: 4px;
}

.portal-page {
  color: #17243a;
  background: #edf4f7;
}

.portal-topbar {
  height: 70px;
  padding: 0 30px;
  box-shadow: 0 1px 0 rgba(9, 43, 87, 0.06), 0 10px 30px rgba(9, 43, 87, 0.05);
}

.portal-brand span {
  font-size: 18px;
}

.portal-topbar nav a {
  border-radius: 999px;
  padding: 9px 13px;
}

.portal-topbar nav a:first-child {
  background: #eef6f8;
}

.portal-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: calc(100vh - 70px);
}

.portal-sidebar {
  top: 70px;
  gap: 6px;
  min-height: calc(100vh - 70px);
  padding: 20px 16px;
  background: linear-gradient(180deg, #061f42, #071a34);
}

.user-card {
  margin-bottom: 18px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.075);
}

.user-card__label {
  color: var(--teal-2) !important;
  font-size: 11px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-sidebar a {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
}

.portal-sidebar a.is-current,
.portal-sidebar a:hover {
  background: rgba(19, 187, 178, 0.16);
  color: var(--white);
}

.portal-main {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 28px 42px;
}

.portal-hero {
  align-items: flex-end;
  border-radius: 12px;
  padding: 26px 28px;
  background:
    radial-gradient(circle at 88% 20%, rgba(19, 187, 178, 0.32), transparent 28%),
    linear-gradient(135deg, #061f42, #0a356c);
}

.portal-hero h1 {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 52px);
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

.portal-stats article {
  border-radius: 10px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 25px rgba(9, 43, 87, 0.05);
}

.portal-stats strong {
  font-size: 34px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.quick-actions a {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(9, 43, 87, 0.04);
}

.quick-actions strong {
  color: var(--navy);
}

.quick-actions span {
  color: var(--muted);
  font-size: 13px;
}

.portal-panel {
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(9, 43, 87, 0.05);
}

.panel-heading {
  align-items: flex-start;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbfc);
}

.panel-heading h2 {
  font-size: 22px;
}

.portal-panel > .portal-form,
.portal-panel > .workflow-board,
.portal-panel > .compact-table,
.portal-panel > .activity-list {
  margin: 0;
  padding: 20px 22px;
}

.portal-form--grid {
  gap: 14px;
}

.portal-form--grid input,
.portal-form--grid select,
.portal-form--grid textarea,
.review-form select,
.review-form textarea {
  border-color: #cbd9e2;
  background: #fbfdfe;
}

.portal-form--grid textarea {
  min-height: 112px;
}

.workflow-board {
  background: #fbfdfe;
}

.manuscript-card {
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(9, 43, 87, 0.04);
}

.manuscript-card__head {
  align-items: center;
}

.manuscript-card h3 {
  font-size: 18px;
}

.status-pill {
  min-width: 112px;
  padding: 7px 11px;
}

.editor-actions {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.compact-table,
.activity-list {
  background: #fbfdfe;
}

.compact-table article,
.activity-list article {
  border-radius: 8px;
  background: var(--white);
}

.empty-state {
  border-style: dashed;
  background: var(--white);
}

@media (max-width: 1100px) {
  .auth-card--split,
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    min-height: 420px;
  }

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

@media (max-width: 720px) {
  .auth-shell {
    padding: 16px;
  }

  .auth-panel,
  .auth-login-panel {
    padding: 26px;
  }

  .portal-topbar {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }

  .portal-shell,
  .portal-stats {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    top: 0;
    min-height: auto;
  }

  .portal-main {
    padding: 16px;
  }
}

/* Public CAJ header and footer refinement */
.site-header {
  position: relative;
  z-index: 25;
  background: var(--white);
}

.navbar__inner {
  min-height: 74px;
  gap: 18px;
}

.brand {
  flex: 0 0 360px;
  min-width: 0;
  gap: 12px;
}

.brand img {
  width: 96px;
  height: 54px;
  object-fit: cover;
  object-position: left center;
  border-radius: 4px;
  mix-blend-mode: normal;
}

.brand strong {
  font-size: 15px;
  line-height: 1.08;
}

.brand small {
  max-width: 260px;
  font-size: 10.5px;
  line-height: 1.32;
}

.navlinks {
  flex: 1;
  min-width: 0;
  gap: 16px;
  font-size: 12px;
  line-height: 1.2;
}

.navlinks a {
  padding-top: 26px;
  padding-bottom: 26px;
}

.nav-submit,
.nav-login {
  display: inline-flex !important;
  min-height: 38px;
  align-items: center;
  border-radius: 5px;
  padding: 0 15px !important;
  line-height: 1.15;
}

.nav-submit {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--teal), #007c78);
}

.nav-login {
  border: 1px solid var(--line);
  color: var(--navy) !important;
  background: var(--white);
}

.nav-submit::after,
.nav-login::after {
  display: none;
}

.footer__brand img {
  width: min(210px, 100%);
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 3px;
  background: transparent;
  margin-bottom: 14px;
}

.footer__brand p {
  max-width: 310px;
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(19, 187, 178, 0.24), transparent 28%),
    linear-gradient(135deg, #061f42, #0a356c);
}

.page-hero .container {
  padding: 62px 0;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

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

.page-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.page-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

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

.current-page-layout {
  display: grid;
  gap: 24px;
}

.board-grid--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  background:
    linear-gradient(180deg, #061f42, #051a35);
}

.footer__grid {
  align-items: start;
  padding: 30px 0 28px;
}

.footer__brand img {
  width: min(190px, 100%);
}

.footer__brand p {
  margin-bottom: 14px;
}

.footer__publisher {
  border-left: 3px solid var(--teal);
  padding-left: 12px;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6;
}

.footer__contact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.footer__contact-card p {
  line-height: 1.65;
}

.footer__bottom {
  align-items: center;
}

@media (max-width: 1080px) {
  .page-grid,
  .contact-page-grid,
  .board-grid--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .nav-submit,
  .nav-login {
    min-height: auto;
    padding: 13px 0 !important;
    color: var(--navy) !important;
    background: transparent;
  }
}

@media (max-width: 820px) {
  .navbar__inner {
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    width: auto;
    max-width: calc(100% - 56px);
  }

  .brand img {
    width: 78px;
    height: 48px;
  }

  .navlinks {
    gap: 0;
  }

  .navlinks a {
    padding: 10px 0;
  }

  .search-button {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-submit,
  .nav-login {
    justify-content: flex-start;
    border: 0;
  }

  .page-hero .container {
    padding: 42px 0;
  }

  .page-grid,
  .contact-page-grid,
  .board-grid--page {
    grid-template-columns: 1fr;
  }
}

/* CMS multiuser modules and minimal auth */
.auth-shell--minimal {
  background:
    radial-gradient(circle at 12% 12%, rgba(19, 187, 178, 0.18), transparent 26%),
    linear-gradient(145deg, #f7fbfc 0%, #edf5f7 48%, #e6f4f3 100%);
}

.auth-card--minimal {
  width: min(440px, 100%);
  border: 1px solid rgba(9, 43, 87, 0.1);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(6, 31, 66, 0.14);
}

.auth-brand--center {
  justify-content: center;
  margin-bottom: 18px;
  text-align: center;
}

.auth-brand--center img {
  width: 96px;
  height: 62px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: var(--white);
  mix-blend-mode: normal;
}

.auth-brand--center span {
  color: var(--navy);
  font-size: 16px;
  text-transform: uppercase;
}

.auth-card--minimal .auth-login-panel {
  padding: 0;
}

.auth-login-heading--center {
  text-align: center;
}

.auth-login-heading--center span {
  margin-inline: auto;
}

.auth-login-heading--center h1 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 31px;
  line-height: 1.1;
}

.auth-login-heading--center p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: #f7fbfc;
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: transparent;
  font-weight: 800;
}

.auth-tabs button.is-active {
  color: var(--white);
  background: var(--navy);
}

.auth-form[hidden] {
  display: none;
}

.auth-form--register textarea {
  min-height: 84px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.module-card {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(9, 43, 87, 0.04);
}

.module-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: var(--teal);
  background: #e7f5f4;
  font-size: 12px;
  font-weight: 900;
}

.module-card strong {
  color: var(--navy);
  font-size: 16px;
}

.module-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.reviewer-desk {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 22px;
  background: #fbfdfe;
}

.reviewer-desk article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: var(--white);
}

.reviewer-desk strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.reviewer-desk span {
  color: var(--muted);
  font-size: 13px;
}

.user-table article {
  grid-template-columns: minmax(210px, 1fr) minmax(360px, 1.5fr) auto;
}

.user-access-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 120px auto;
  gap: 8px;
}

.user-access-form select,
.user-table form button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--white);
  font-size: 13px;
}

.user-table form button {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .module-grid,
  .reviewer-desk {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-table article,
  .user-access-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .auth-card--minimal {
    padding: 22px;
  }

  .module-grid,
  .module-guide-list,
  .template-guide,
  .reviewer-desk {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .portal-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .portal-brand {
    flex: 1 1 100%;
    min-width: 0;
  }

  .portal-brand img {
    width: 78px;
    height: 46px;
  }

  .portal-brand span {
    font-size: 15px;
  }

  .portal-topbar nav {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .portal-topbar nav a {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
  }

  .portal-topbar nav a:last-child {
    color: #ffffff;
    border-color: var(--navy);
    background: var(--navy);
  }

  .portal-shell {
    display: block;
  }

  .portal-sidebar {
    position: sticky;
    top: 118px;
    z-index: 45;
    display: flex;
    min-height: auto;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px;
  }

  .portal-sidebar .user-card {
    display: none;
  }

  .portal-sidebar a {
    flex: 0 0 auto;
    min-height: 36px;
    white-space: nowrap;
  }

  .portal-main {
    padding: 14px 14px 34px;
  }

  .portal-hero {
    display: grid;
    gap: 16px;
  }

  .portal-hero-actions {
    justify-content: stretch;
  }

  .portal-hero-actions .button {
    width: 100%;
  }

  .portal-stats,
  .module-grid,
  .module-guide-list,
  .template-guide {
    grid-template-columns: 1fr;
  }

  .module-category,
  .portal-panel {
    border-radius: 10px;
  }

  .module-category__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .template-actions .button {
    width: 100%;
  }

  .pdf-preview iframe,
  .public-pdf-viewer iframe {
    height: 420px;
  }

  .article-template-sheet {
    padding: 20px;
  }

  .article-template-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-template-header img {
    width: min(220px, 100%);
  }

  .template-toolbar {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .template-toolbar a,
  .template-toolbar button {
    flex: 1;
    text-align: center;
  }
}

@media print {
  .template-page {
    padding: 0;
    background: #ffffff;
  }

  .article-template-sheet {
    width: 100%;
    border: 0;
    box-shadow: none;
  }

  .template-toolbar {
    display: none;
  }
}

/* Compact auth, lighter dashboard, article archive detail */
.auth-shell--minimal {
  min-height: 100vh;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(19, 187, 178, 0.18), transparent 24%),
    linear-gradient(135deg, #f7fbfc, #e8f4f5);
}

.auth-card--minimal {
  display: grid;
  width: min(820px, 100%);
  grid-template-columns: 0.82fr 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
}

.auth-card--minimal > .auth-brand--center {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  margin: 0;
  padding: 26px 24px;
  background:
    linear-gradient(150deg, rgba(6, 31, 66, 0.94), rgba(9, 43, 87, 0.88)),
    url("../issue-2026.jpeg") center / cover;
}

.auth-card--minimal > .auth-brand--center img {
  width: 142px;
  height: 92px;
  margin-bottom: 12px;
}

.auth-card--minimal > .auth-brand--center span {
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
}

.auth-card--minimal .auth-login-panel {
  padding: 28px;
}

.auth-login-heading--center {
  margin-bottom: 14px;
}

.auth-login-heading--center h1 {
  font-size: 28px;
}

.auth-login-heading--center p {
  margin-bottom: 0;
  font-size: 13px;
}

.auth-form {
  display: grid;
  gap: 11px;
}

.auth-form label {
  font-size: 12px;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  min-height: 42px;
}

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

.auth-form--register label:nth-of-type(5),
.auth-form--register label:nth-of-type(6),
.auth-form--register button {
  grid-column: 1 / -1;
}

.auth-form--register textarea {
  min-height: 70px;
}

.auth-links {
  margin-top: 14px;
}

.portal-topbar {
  height: 62px;
}

.portal-brand img {
  width: 58px;
  height: 36px;
  object-position: center;
}

.portal-shell {
  grid-template-columns: 230px minmax(0, 1fr);
}

.portal-sidebar {
  top: 62px;
  min-height: calc(100vh - 62px);
  padding: 14px;
}

.portal-sidebar a {
  min-height: 38px;
  font-size: 13px;
}

.user-card {
  padding: 14px;
  min-width: 0;
  overflow: hidden;
}

.user-card strong,
.user-card span,
.user-card small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.portal-main {
  padding: 18px;
}

.portal-hero {
  padding: 22px;
}

.portal-hero h1 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.portal-hero p {
  font-size: 14px;
}

.portal-stats article {
  padding: 14px;
}

.portal-stats strong {
  font-size: 28px;
}

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

/* Header, auth and CMS brand polish */
.nav-login {
  display: none !important;
}

.auth-shell--minimal {
  background:
    radial-gradient(circle at 18% 15%, rgba(19, 187, 178, 0.22), transparent 22%),
    radial-gradient(circle at 82% 80%, rgba(6, 31, 66, 0.12), transparent 26%),
    linear-gradient(135deg, #f6fbfc, #e6f2f4);
}

.auth-card--minimal {
  width: min(860px, 100%);
  border: 1px solid rgba(6, 31, 66, 0.08);
  box-shadow: 0 30px 90px rgba(6, 31, 66, 0.14);
}

.auth-card--minimal > .auth-brand--center {
  position: relative;
  overflow: hidden;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 18% 14%, rgba(21, 198, 188, 0.26), transparent 24%),
    linear-gradient(155deg, #061f42, #082a54 54%, #041527);
}

.auth-card--minimal > .auth-brand--center::after {
  position: absolute;
  inset: auto -28% -42% 18%;
  height: 180px;
  border-radius: 999px;
  background: rgba(21, 198, 188, 0.12);
  content: "";
  transform: rotate(-12deg);
}

.auth-card--minimal > .auth-brand--center img {
  position: relative;
  z-index: 1;
  width: min(250px, 86%);
  height: auto;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.auth-card--minimal > .auth-brand--center span {
  position: relative;
  z-index: 1;
  max-width: 250px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-card--minimal .auth-login-panel {
  padding: 34px;
}

.portal-topbar {
  height: 68px;
  background: #ffffff;
}

.portal-brand {
  gap: 14px;
}

.portal-brand img {
  width: 84px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: normal;
}

.portal-brand span {
  padding-left: 12px;
  border-left: 1px solid #d9e4eb;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.15;
}

.module-hub {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.module-category {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(9, 43, 87, 0.05);
}

.module-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.module-category__head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.module-category__head span {
  border-radius: 999px;
  padding: 6px 10px;
  color: #08736f;
  background: #e7f6f5;
  font-size: 12px;
  font-weight: 800;
}

.module-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 22px;
}

.module-guide-list article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fbfdfe;
}

.module-guide-list strong,
.module-guide-list span {
  display: block;
}

.module-guide-list strong {
  color: var(--navy);
}

.module-guide-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.template-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 22px 0;
}

.template-guide article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fbfdfe;
}

.template-guide span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #08736f;
  background: #e2f5f3;
  font-size: 12px;
  font-weight: 800;
}

.template-guide strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
}

.template-guide p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 22px 22px;
}

.pdf-preview {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fbfdfe;
}

.pdf-preview summary {
  padding: 12px 14px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.pdf-preview iframe,
.public-pdf-viewer iframe {
  display: block;
  width: 100%;
  height: min(72vh, 720px);
  border: 0;
  background: #edf4f7;
}

.public-pdf-viewer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.template-page {
  min-height: 100vh;
  padding: 28px;
  background: #edf4f7;
  color: #15233a;
  font-family: Inter, Arial, sans-serif;
}

.article-template-sheet {
  width: min(920px, 100%);
  margin: 0 auto;
  border: 1px solid #d9e4eb;
  border-radius: 10px;
  padding: 34px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(6, 31, 66, 0.12);
}

.article-template-header {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 3px solid #008f8a;
  padding-bottom: 18px;
}

.article-template-header img {
  width: 210px;
  border-radius: 6px;
}

.article-template-header strong,
.article-template-header span {
  display: block;
}

.article-template-header strong {
  color: var(--navy);
  font-size: 22px;
}

.article-template-header span,
.article-template-meta {
  color: var(--muted);
}

.article-template-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #d9e4eb;
  padding: 14px 0;
  font-size: 12px;
}

.article-template-meta span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef6f8;
}

.article-template-body h1 {
  margin: 26px 0 10px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
}

.article-template-body h2 {
  margin: 22px 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.article-template-body p,
.article-template-body li {
  color: #2c3d55;
  font-size: 14px;
}

.template-authors {
  font-weight: 800;
}

.template-affiliation {
  color: var(--muted) !important;
  font-size: 12px !important;
}

.article-template-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #d9e4eb;
  margin-top: 26px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.template-toolbar {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.template-toolbar a,
.template-toolbar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--navy);
  background: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(6, 31, 66, 0.12);
}

.template-toolbar button {
  border-color: var(--teal);
  color: #ffffff;
  background: var(--teal);
}

.module-card {
  min-height: 142px;
  padding: 15px;
}

.module-card span {
  width: 36px;
  height: 36px;
}

.module-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 22px;
  background: #fbfdfe;
}

.module-guide-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--white);
}

.module-guide-list strong,
.module-guide-list span {
  display: block;
}

.module-guide-list strong {
  color: var(--navy);
}

.module-guide-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.article-detail {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  background: var(--white);
}

.article-detail > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-detail h2 {
  margin: 10px 0 12px;
  color: var(--navy);
}

.article-detail p {
  color: var(--muted);
}

.article-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-photo {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.profile--wide .profile-photo {
  width: 96px;
  height: 96px;
}

.board-editor-form {
  border-top: 0;
}

.board-admin-list {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  background: #fbfdfe;
}

.board-admin-list article {
  display: grid;
  grid-template-columns: 74px minmax(200px, 0.65fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--white);
}

.board-admin-list img,
.board-admin-list .avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.board-admin-list strong,
.board-admin-list span,
.board-admin-list small {
  display: block;
}

.board-admin-list strong {
  color: var(--navy);
}

.board-admin-list span,
.board-admin-list small {
  color: var(--muted);
  font-size: 13px;
}

.board-inline-edit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.board-inline-edit input,
.board-inline-edit select,
.board-inline-edit textarea,
.board-inline-edit button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--white);
  font-size: 12px;
}

.board-inline-edit textarea {
  grid-column: 1 / -2;
}

.board-inline-edit button {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
  font-weight: 800;
}

.slider-admin-list {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  background: #fbfdfe;
}

.slider-admin-list article {
  display: grid;
  grid-template-columns: 150px minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--white);
}

.slider-admin-list img {
  width: 150px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: var(--soft);
}

.slider-admin-list strong,
.slider-admin-list span,
.slider-admin-list small {
  display: block;
}

.slider-admin-list strong {
  color: var(--navy);
}

.slider-admin-list span,
.slider-admin-list small {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.slider-inline-edit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.slider-inline-edit input,
.slider-inline-edit select,
.slider-inline-edit textarea,
.slider-inline-edit button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--white);
  font-size: 12px;
}

.slider-inline-edit textarea {
  grid-column: 1 / -2;
}

.slider-inline-edit button {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
  font-weight: 800;
}

.reviewer-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reviewer-public-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.reviewer-public-card > p,
.reviewer-public-card > a {
  grid-column: 1 / -1;
}

.reviewer-public-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.reviewer-admin-list {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  background: #fbfdfe;
}

.reviewer-admin-list article {
  display: grid;
  grid-template-columns: 74px minmax(200px, 0.55fr) minmax(0, 1.45fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--white);
}

.reviewer-admin-list img,
.reviewer-admin-list .avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.reviewer-admin-list strong,
.reviewer-admin-list span,
.reviewer-admin-list small {
  display: block;
}

.reviewer-admin-list strong {
  color: var(--navy);
}

.reviewer-admin-list span,
.reviewer-admin-list small {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.reviewer-inline-edit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.reviewer-inline-edit input,
.reviewer-inline-edit select,
.reviewer-inline-edit textarea,
.reviewer-inline-edit button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--white);
  font-size: 12px;
}

.reviewer-inline-edit textarea {
  grid-column: 1 / -2;
}

.reviewer-inline-edit button {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
  font-weight: 800;
}

@media (max-width: 980px) {
  .auth-card--minimal,
  .portal-shell,
  .article-detail-layout {
    grid-template-columns: 1fr;
  }

  .auth-card--minimal > .auth-brand--center {
    min-height: auto;
    border-right: 0;
    padding: 20px;
  }

  .auth-card--minimal > .auth-brand--center img {
    width: 118px;
    height: 76px;
  }

  .portal-sidebar {
    position: static;
    min-height: auto;
  }

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

  .user-card {
    grid-column: 1 / -1;
  }

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

  .board-admin-list article,
  .board-inline-edit,
  .slider-admin-list article,
  .slider-inline-edit,
  .reviewer-admin-list article,
  .reviewer-inline-edit,
  .reviewer-public-grid {
    grid-template-columns: 1fr;
  }

  .board-inline-edit textarea,
  .slider-inline-edit textarea,
  .reviewer-inline-edit textarea {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .auth-shell--minimal {
    padding: 12px;
  }

  .auth-card--minimal .auth-login-panel {
    padding: 22px;
  }

  .auth-form--register,
  .portal-stats,
  .module-grid,
  .module-guide-list,
  .reviewer-desk {
    grid-template-columns: 1fr;
  }

  .auth-form--register label:nth-of-type(5),
  .auth-form--register label:nth-of-type(6),
  .auth-form--register button {
    grid-column: auto;
  }

  .portal-topbar {
    align-items: stretch;
  }

  .portal-topbar nav {
    width: 100%;
    justify-content: space-between;
  }

  .portal-sidebar {
    grid-template-columns: 1fr;
  }

  .portal-hero-actions,
  .article-detail-actions {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero {
    overflow: hidden;
    padding: 34px 0 24px;
  }

  .hero .container,
  .hero__grid,
  .hero__copy,
  .hero__media {
    max-width: 100%;
    min-width: 0;
  }

  .hero .container {
    width: calc(100% - 28px);
  }

  .hero__grid,
  .hero__copy,
  .hero__media {
    width: 100%;
  }

  .hero__copy,
  .hero__media,
  .hero__grid > .hero__feature-strip {
    grid-column: 1 / -1;
  }

  .hero__media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 0;
    justify-content: stretch;
  }

  .hero-slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero__copy h1,
  .hero__copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero__copy h1 {
    font-size: 27px;
  }

  .hero-slider__viewport {
    aspect-ratio: 16 / 8.2;
    min-height: 0;
  }

  .hero-slide {
    padding: 0;
  }

  .hero-slide__image {
    min-height: 100%;
  }

  .hero-slide__image img {
    max-height: none;
  }

  .hero-slide__content strong {
    font-size: 18px;
  }

  .hero-slide__content p {
    display: none;
  }

  .hero__feature-strip {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 18px 0 0;
  }

  .hero__feature-strip article {
    display: block;
    min-height: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
    padding: 13px;
  }

  .hero__feature-strip .icon {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    font-size: 10px;
  }

  .hero__feature-strip strong {
    font-size: 12px;
  }

  .hero__feature-strip small {
    font-size: 11px;
  }
}

/* Final CMS dashboard mobile support overrides */
.portal-brand img {
  width: 84px;
  height: 48px;
  object-fit: cover;
  object-position: left center;
}

.module-hub {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.module-category .module-grid {
  margin: 0;
}

.module-guide-list,
.template-guide {
  display: grid;
}

@media (min-width: 761px) {
  .module-guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .portal-topbar {
    height: auto !important;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px !important;
  }

  .portal-brand {
    flex: 1 1 100%;
  }

  .portal-brand img {
    width: 78px;
    height: 46px;
  }

  .portal-topbar nav {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .portal-topbar nav a {
    justify-content: center;
    width: 100%;
  }

  .portal-topbar nav a:last-child {
    color: #ffffff;
    background: var(--navy);
  }

  .portal-shell {
    display: block !important;
  }

  .portal-sidebar {
    position: sticky;
    top: 118px;
    display: flex !important;
    min-height: auto !important;
    overflow-x: auto;
    padding: 10px 14px !important;
  }

  .portal-sidebar .user-card {
    display: none;
  }

  .portal-sidebar a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .portal-main {
    padding: 14px !important;
  }

  .module-grid,
  .module-guide-list,
  .template-guide,
  .portal-stats {
    grid-template-columns: 1fr !important;
  }

  .template-actions .button,
  .portal-hero-actions .button {
    width: 100%;
  }
}

/* Article listing and citation tools */
.article-list .article-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px 22px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(5, 28, 57, 0.04);
}

.article-list .article-card__body {
  display: block;
  min-width: 0;
}

.article-card__type {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-card__body h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.28;
}

.article-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.article-list .article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 12px;
}

.article-list .article-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.article-list .article-card__actions {
  display: grid;
  gap: 9px;
  justify-content: stretch;
}

.article-list .article-card__actions a,
.article-citation summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 12px;
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.article-list .article-card__actions a:first-child {
  border-color: rgba(0, 150, 143, 0.25);
  background: rgba(0, 150, 143, 0.1);
  color: var(--teal-dark);
}

.article-citation {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.article-citation summary {
  width: fit-content;
  cursor: pointer;
}

.article-list .citation-list {
  display: grid;
  gap: 10px;
  justify-content: stretch;
  margin-top: 12px;
}

.article-list .citation-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 78px;
  gap: 12px;
  align-items: start;
  justify-content: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdff;
}

.article-list .citation-row strong {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.article-list .citation-row code {
  overflow-wrap: anywhere;
  white-space: normal;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
}

.article-list .citation-row button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: var(--navy);
  font-weight: 850;
  cursor: pointer;
}

.article-template-header {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.article-template-header img {
  width: 112px;
  height: 82px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #ffffff;
}

@media (max-width: 860px) {
  .article-list .article-card {
    grid-template-columns: 1fr;
  }

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

  .article-list .citation-row {
    grid-template-columns: 1fr;
  }

  .article-list .citation-row button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .section-heading-row {
    align-items: stretch;
  }

  .filter-tools {
    width: 100%;
    flex-direction: column;
  }

  .article-list .article-card {
    padding: 18px;
  }

  .article-card__body h3 {
    font-size: 18px;
  }

  .article-list .article-card__actions {
    grid-template-columns: 1fr;
  }

  .article-template-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

.article-template-header img {
    justify-self: center;
  }
}

/* Finance expansion and corporate login polish */
.auth-shell--minimal {
  display: grid;
  align-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 14% 12%, rgba(0, 150, 143, 0.18), transparent 26%),
    linear-gradient(135deg, #f7fbfc 0%, #e9f3f5 100%);
}

.auth-card--minimal {
  width: min(980px, 100%);
  min-height: 620px;
  grid-template-columns: 0.95fr 1fr;
  border: 1px solid rgba(6, 31, 66, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(6, 31, 66, 0.11);
}

.auth-card--minimal > .auth-brand--center {
  justify-content: center;
  padding: 56px 44px;
  background: #001b35;
}

.auth-card--minimal > .auth-brand--center::after {
  display: none;
}

.auth-card--minimal > .auth-brand--center img {
  width: min(360px, 88%);
  max-height: 175px;
  margin: 0;
  border: 0;
  border-radius: 0;
  clip-path: inset(2px);
  box-shadow: none;
  background: transparent;
  object-fit: contain;
}

.auth-card--minimal > .auth-brand--center span {
  display: none;
}

.auth-card--minimal .auth-login-panel {
  display: grid;
  align-content: center;
  padding: 46px;
}

.finance-create-form {
  margin-bottom: 18px;
}

.gateway-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.gateway-status.is-ready {
  color: #05605d;
  background: rgba(0, 150, 143, 0.12);
}

.gateway-status.is-missing {
  color: #8a4b00;
  background: #fff4d8;
}

.document-pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #008f8b;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.document-body--payment {
  display: grid;
  gap: 14px;
}

.document-status-strip {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #dbe6ec;
  background: #f7fbfc;
}

.document-status-strip strong {
  color: #0a2142;
  font-size: 15px;
}

.document-status-strip span,
.document-note {
  color: #60707f;
  font-size: 14px;
  line-height: 1.55;
}

.document-status-strip.is-due {
  border-color: rgba(0, 150, 143, 0.28);
  background: rgba(0, 150, 143, 0.08);
}

.document-status-strip.is-paid {
  border-color: rgba(0, 143, 139, 0.34);
  background: rgba(0, 143, 139, 0.12);
}

@media (max-width: 760px) {
  .auth-shell--minimal {
    padding: 14px;
  }

  .auth-card--minimal {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .auth-card--minimal > .auth-brand--center {
    min-height: 220px;
    padding: 32px 22px;
  }

  .auth-card--minimal > .auth-brand--center img {
    width: min(230px, 78%);
    margin-bottom: 14px;
  }

  .auth-card--minimal > .auth-brand--center span {
    font-size: 18px;
  }

  .auth-card--minimal .auth-login-panel {
    padding: 24px;
  }
}

@media (max-width: 980px) {
  .finance-report-head,
  .document-title {
    align-items: stretch;
  }

  .finance-kpi-grid,
  .finance-mini-reports,
  .report-kpi-grid,
  .report-columns,
  .report-columns--two,
  .audit-focus-grid {
    grid-template-columns: 1fr;
  }

  .report-sheet .document-header {
    grid-template-columns: 1fr;
  }

  .report-actions a,
  .report-filter input,
  .report-filter select,
  .report-filter button {
    width: 100%;
  }
}
