:root {
  --jp-primary: #3ba8ff;
  --jp-secondary: #6cc8ff;
  --jp-hover: #2296f3;
  --jp-bg: #f7fbff;
  --jp-card: #ffffff;
  --jp-border: #d8ecff;
  --jp-border-strong: #bfdfff;
  --jp-text: #1f2937;
  --jp-muted: #5f7187;
  --jp-shadow: 0 18px 46px rgba(35, 101, 173, 0.10);
  --jp-shadow-soft: 0 10px 24px rgba(35, 101, 173, 0.07);
  --jp-radius: 1.15rem;
  --jp-radius-sm: 0.85rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body.site-body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--jp-text);
  font-family: "Noto Sans", Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(59, 168, 255, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(108, 200, 255, 0.10), transparent 28%),
    var(--jp-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans", Arial, sans-serif;
  color: var(--jp-text);
  letter-spacing: 0;
}

a {
  color: var(--jp-hover);
}

a:hover {
  color: var(--jp-primary);
}

.container {
  max-width: 1240px;
}

.site-main {
  min-height: calc(100vh - 220px);
  padding-top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(190, 231, 255, 0.98) 0%, rgba(108, 200, 255, 0.96) 56%, rgba(59, 168, 255, 0.98) 100%);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.site-header-scrolled .site-header {
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.14);
}

.site-header .container {
  max-width: 1360px;
  gap: 1rem;
}

.site-header .navbar {
  padding: 0;
}

.site-header .navbar-brand,
.site-header .nav-link,
.site-header .btn,
.site-header .dropdown-item {
  color: #1f2937 !important;
}

.site-header .navbar-collapse {
  justify-content: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.75rem;
}

.site-header .navbar-brand {
  flex: 0 0 auto;
}

.site-header .site-search {
  flex: 1 1 420px;
  min-width: 320px;
  max-width: 620px;
}

.site-header .site-desktop-actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.site-header .site-desktop-actions .btn,
.site-header .site-desktop-actions .dropdown,
.site-header .site-desktop-actions form {
  flex: 0 0 auto;
}

.site-header .navbar-collapse {
  flex-basis: 100%;
}

.navbar-brand {
  color: var(--jp-text) !important;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), var(--jp-shadow-soft);
  backdrop-filter: blur(10px);
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 34px;
  height: 34px;
}

.brand-title {
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: rgba(31, 41, 55, 0.80);
  font-weight: 600;
}

.site-search {
  position: relative;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 auto;
  max-width: 560px;
}

.site-search .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 999px;
  padding-left: 2.45rem;
  border-color: rgba(59, 168, 255, 0.18);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.site-search .btn {
  white-space: nowrap;
  flex: 0 0 auto;
}

.paper-search-autocomplete {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.paper-search-autocomplete .form-control {
  width: 100%;
}

.site-search-icon {
  position: absolute;
  left: 0.95rem;
  z-index: 2;
  color: var(--jp-primary);
  pointer-events: none;
}

.paper-search-suggestions {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 1060;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--jp-border);
  border-radius: 1rem;
  box-shadow: var(--jp-shadow);
  overflow: hidden;
}

.paper-search-suggestions.show {
  display: block;
}

.paper-search-suggestion {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: left;
  color: var(--jp-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf3fb;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.paper-search-suggestion:last-child {
  border-bottom: 0;
}

.paper-search-suggestion:hover,
.paper-search-suggestion:focus {
  background: rgba(59, 168, 255, 0.08);
  color: var(--jp-hover);
}

.language-toggle {
  min-width: 140px;
}

.navbar .navbar-toggler {
  border: 1px solid rgba(31, 41, 55, 0.14);
  border-radius: 0.95rem;
  box-shadow: none;
}

.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(59, 168, 255, 0.18);
}

.navbar-nav {
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar-nav .nav-item {
  white-space: nowrap;
}

.nav-link {
  color: rgba(31, 41, 55, 0.92) !important;
  font-weight: 600;
  padding: 0.7rem 0.9rem !important;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(255, 255, 255, 0.30);
  color: var(--jp-text) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
}

.site-desktop-actions .dropdown-menu,
.navbar .dropdown-menu {
  border: 1px solid var(--jp-border);
  box-shadow: var(--jp-shadow);
  border-radius: 1rem;
  padding: 0.5rem;
  backdrop-filter: blur(10px);
}

.dropdown-item {
  border-radius: 0.75rem;
  padding: 0.72rem 0.92rem;
  font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(59, 168, 255, 0.10);
  color: var(--jp-text);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--jp-primary) 0%, var(--jp-secondary) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(59, 168, 255, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--jp-hover) 0%, var(--jp-primary) 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 150, 243, 0.28);
}

.btn-outline-primary,
.btn-soft {
  color: var(--jp-text);
  border: 1px solid rgba(59, 168, 255, 0.20);
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.05);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible,
.btn-soft:hover,
.btn-soft:focus-visible {
  background: var(--jp-hover);
  color: #fff;
  border-color: var(--jp-hover);
  box-shadow: 0 12px 24px rgba(34, 150, 243, 0.20);
}

.btn-outline-secondary {
  color: var(--jp-text);
  border-color: rgba(59, 168, 255, 0.20);
  background: rgba(255, 255, 255, 0.70);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus-visible {
  background: var(--jp-hover);
  color: #fff;
  border-color: var(--jp-hover);
}

.btn-outline-success,
.btn-outline-danger,
.btn-outline-info {
  color: var(--jp-text);
  border-color: rgba(59, 168, 255, 0.20);
  background: rgba(255, 255, 255, 0.68);
}

.btn-outline-success:hover,
.btn-outline-success:focus-visible,
.btn-outline-danger:hover,
.btn-outline-danger:focus-visible,
.btn-outline-info:hover,
.btn-outline-info:focus-visible {
  background: var(--jp-hover);
  color: #fff;
  border-color: var(--jp-hover);
}

.btn-success,
.btn-danger,
.btn-info {
  background: linear-gradient(135deg, #6cc8ff 0%, #3ba8ff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(59, 168, 255, 0.22);
}

.btn-success:hover,
.btn-success:focus-visible,
.btn-danger:hover,
.btn-danger:focus-visible,
.btn-info:hover,
.btn-info:focus-visible {
  background: linear-gradient(135deg, #2296f3 0%, #3ba8ff 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 150, 243, 0.26);
}

.premium-surface,
.site-panel,
.bg-white.border,
.card,
.table-responsive,
.alert,
.border.rounded-3,
.border.rounded-4,
.auth-split,
.auth-panel,
.auth-visual {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: var(--jp-border) !important;
  box-shadow: var(--jp-shadow-soft);
  backdrop-filter: blur(10px);
}

.bg-light {
  background-color: #f8fbff !important;
}

.border {
  border-color: var(--jp-border) !important;
}

.rounded-3,
.rounded-4 {
  border-radius: var(--jp-radius) !important;
}

.hero-shell {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-shell-flush {
  margin-top: calc(-1rem - 1px);
}

.hero-carousel-shell {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: clamp(34rem, 82vh, 56rem);
  box-shadow: none;
}

.hero-carousel-shell .carousel-inner,
.hero-carousel-shell .carousel-item {
  height: 100%;
}

.hero-carousel-image {
  width: 100%;
  height: clamp(34rem, 82vh, 56rem);
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-title {
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
}

.hero-copy {
  max-width: 46rem;
}

.soft-chip,
.metric-pill,
.footer-tag,
.journal-chip,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 168, 255, 0.14);
  background: rgba(59, 168, 255, 0.10);
  color: var(--jp-hover);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.search-panel {
  display: flex;
  gap: 0.75rem;
}

.search-panel .form-control {
  flex: 1 1 auto;
}

.hero-search-btn {
  min-width: 96px;
  padding: 0.55rem 0.92rem;
}

.page-heading,
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.dashboard-hero h1,
.page-heading h1,
.section-heading h2 {
  margin-bottom: 0;
}

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

.stat-card,
.info-card,
.timeline-card,
.portal-card,
.mini-stat,
.feature-card {
  position: relative;
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--jp-shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.stat-card:hover,
.info-card:hover,
.timeline-card:hover,
.portal-card:hover,
.mini-stat:hover,
.feature-card:hover,
.premium-surface:hover,
.site-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(35, 101, 173, 0.14);
}

.stat-card,
.portal-card,
.feature-card,
.mini-stat {
  padding: 1rem 1rem;
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--jp-muted);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--jp-text);
}

.stat-note {
  color: var(--jp-muted);
  font-size: 0.92rem;
}

.table-responsive {
  overflow: auto;
}

.table {
  margin-bottom: 0;
}

.table > :not(caption) > * > * {
  padding: 1rem 0.9rem;
  border-color: #e9eff8;
}

.table thead th {
  background: #f9fbff;
  color: var(--jp-text);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 1;
}

.table-hover tbody tr {
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.table-hover tbody tr:hover {
  background: rgba(59, 168, 255, 0.045);
}

.form-control,
.form-select {
  border-color: var(--jp-border-strong);
  border-radius: 0.95rem;
  padding: 0.78rem 0.95rem;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(59, 168, 255, 0.75);
  box-shadow: 0 0 0 0.22rem rgba(59, 168, 255, 0.18);
}

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--jp-text);
  margin-bottom: 0.45rem;
}

.alert {
  border-radius: 1rem;
  border: 1px solid var(--jp-border);
}

.premium-alert {
  padding: 1rem 1.1rem;
}

.alert-icon {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: inherit;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
}

.alert-danger {
  background: #fef2f2;
  color: #991b1b;
}

.alert-info {
  background: #eff6ff;
  color: #1e3a8a;
}

.review-status-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.875rem;
  line-height: 1.2;
  border: 1px solid transparent;
  font-weight: 700;
}

.review-accept,
.status-sent,
.status-approved,
.status-accepted {
  background: #eef8ff;
  color: #1769b0;
  border-color: #cce9ff;
}

.review-minor_revision,
.status-pending,
.status-review_submitted,
.status-under_review,
.status-revision_requested {
  background: #eef8ff;
  color: #1769b0;
  border-color: #cce9ff;
}

.review-major_revision {
  background: #eef8ff;
  color: #1769b0;
  border-color: #cce9ff;
}

.review-reject,
.status-failed,
.status-rejected {
  background: #f3f7fc;
  color: #55647a;
  border-color: #dbe8f6;
}

.manuscript-gallery img {
  border-radius: 1rem;
  border: 1px solid #e6ebf4;
  box-shadow: var(--jp-shadow-soft);
}

.site-footer {
  background: linear-gradient(180deg, #10284a 0%, #0f223e 100%);
  color: rgba(255, 255, 255, 0.88);
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  font-family: "Noto Sans", Arial, sans-serif;
}

.footer-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-heading,
.footer-heading-sm {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 1.15rem;
}

.footer-heading-sm {
  font-size: 0.92rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  flex-wrap: wrap;
}

.footer-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.footer-icon:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.footer-tag {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.footer-tag:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.btn-link {
  color: var(--jp-hover);
}

.btn-link:hover,
.btn-link:focus-visible {
  color: var(--jp-primary);
}

.message-stack {
  position: relative;
}

.auth-split {
  overflow: hidden;
  border: 1px solid var(--jp-border);
  border-radius: 1.4rem;
  background: var(--jp-card);
  box-shadow: var(--jp-shadow);
}

.auth-visual {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.40), transparent 28%),
    radial-gradient(circle at bottom left, rgba(108, 200, 255, 0.14), transparent 26%),
    linear-gradient(145deg, #eff8ff 0%, #dff1ff 52%, #c7e7ff 100%);
  color: #10243d;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.auth-visual .soft-chip {
  background: rgba(59, 168, 255, 0.12);
  color: #0f2f4f;
  border-color: rgba(59, 168, 255, 0.18);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78) !important;
}

.auth-visual h1 {
  color: #10243d;
}

.auth-visual h1,
.auth-visual .auth-benefit-title,
.auth-visual .auth-benefit-text {
  text-shadow: none;
}

.auth-quote {
  color: #10243d !important;
  text-shadow: none;
  max-width: 26rem;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  filter: blur(6px);
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 10% auto auto -12%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(108, 200, 255, 0.22), transparent 68%);
  filter: blur(2px);
}

.auth-panel {
  background: #fff;
  padding: 2rem;
}

.login-compact {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
}

.login-spotlight {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(59, 168, 255, 0.16);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--jp-shadow-soft);
}

.login-spotlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 168, 255, 0.12);
  color: var(--jp-primary);
  flex: 0 0 auto;
  font-size: 1.1rem;
}

.author-hero-slim {
  padding: 1rem 1.15rem;
}

.metrics-shell-slim {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.author-hero-slim .content-actions {
  justify-content: flex-start;
}

.auth-benefit {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.auth-benefit:first-child {
  border-top: 0;
  padding-top: 0;
}

.auth-benefit-title {
  font-weight: 800;
  color: #fff;
}

.auth-benefit-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.auth-feature-card {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(59, 168, 255, 0.16);
  backdrop-filter: blur(10px);
}

.auth-feature-card .feature-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.6rem;
  color: #10243d;
  font-size: 0.95rem;
}

.auth-feature-card .feature-line i {
  color: var(--jp-primary);
}

.timeline-shell {
  position: relative;
  padding-left: 1.2rem;
}

.timeline-shell::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(59, 168, 255, 0.92), rgba(34, 150, 243, 0.45));
}

.timeline-item {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.1rem;
  top: 1.05rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--jp-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(59, 168, 255, 0.18);
}

.editorial-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(59, 168, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.editorial-banner::after {
  content: "";
  position: absolute;
  inset: auto -8% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(59, 168, 255, 0.08);
  filter: blur(8px);
}

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

.feature-card .bi {
  color: var(--jp-primary);
}

.split-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.home-copy {
  max-width: 55rem;
}

.dashboard-card-3d {
  transform: translateZ(0);
}

.dashboard-card-3d:hover {
  transform: perspective(1200px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
}

.loading-shimmer {
  position: relative;
  overflow: hidden;
}

.loading-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shimmer 1.8s infinite;
}

.progress {
  background: #edf6ff;
  border-radius: 999px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--jp-primary), var(--jp-secondary));
}

.pagination .page-link {
  border-radius: 999px;
  border-color: var(--jp-border);
  color: var(--jp-text);
  margin: 0 0.18rem;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
  background: rgba(59, 168, 255, 0.10);
  color: var(--jp-hover);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--jp-primary), var(--jp-secondary));
  border-color: transparent;
}

.status-badge.status-sent,
.status-badge.status-approved,
.status-badge.status-accepted,
.badge.text-bg-success {
  background: #eef8ff !important;
  color: #1769b0 !important;
  border-color: #cce9ff !important;
}

.status-badge.status-failed,
.status-badge.status-rejected,
.badge.text-bg-danger {
  background: #f3f7fc !important;
  color: #55647a !important;
  border-color: #dbe8f6 !important;
}

.status-badge.status-pending,
.status-badge.status-under_review,
.status-badge.status-review_submitted,
.status-badge.status-revision_requested,
.badge.text-bg-info {
  background: #eef8ff !important;
  color: #1769b0 !important;
  border-color: #cce9ff !important;
}

.retrying-badge {
  background: #eef8ff;
  color: #1769b0;
  border: 1px solid #cce9ff;
}

.icon-blue {
  color: var(--jp-primary);
}

.page-fade-in {
  animation: fadeInUp 0.45s ease both;
}

.slide-in {
  animation: slideIn 0.45s ease both;
}

.dashboard-shell {
  display: grid;
  gap: 1.25rem;
}

.dashboard-hero {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-panel,
.profile-hero,
.form-shell,
.table-shell,
.content-shell,
.metrics-shell,
.activity-shell,
.notification-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.98));
  border: 1px solid var(--jp-border);
  border-radius: 1.3rem;
  box-shadow: var(--jp-shadow-soft);
  backdrop-filter: blur(12px);
}

.hero-panel {
  padding: 1.5rem;
}

.hero-panel .section-kicker,
.profile-hero .section-kicker,
.form-shell .section-kicker,
.table-shell .section-kicker,
.content-shell .section-kicker {
  margin-bottom: 0.6rem;
}

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

.metric-card {
  position: relative;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  border: 1px solid rgba(59, 168, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 168, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.metric-label {
  color: var(--jp-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-value {
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1;
  font-weight: 700;
  color: var(--jp-text);
  margin-top: 0.3rem;
}

.metric-note {
  color: var(--jp-muted);
  margin-top: 0.45rem;
  font-size: 0.92rem;
}

.section-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--jp-border);
  border-radius: 1.1rem;
  box-shadow: var(--jp-shadow-soft);
  padding: 1.15rem;
}

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

.info-tile {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--jp-border);
}

.info-label {
  color: var(--jp-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.info-value {
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--jp-text);
}

.profile-hero {
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--jp-primary), var(--jp-secondary));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(59, 168, 255, 0.24);
  flex: 0 0 auto;
}

.profile-meta {
  flex: 1 1 auto;
}

.progress-shell {
  margin-top: 0.9rem;
}

.progress-shell .progress {
  height: 10px;
}

.profile-actions,
.table-toolbar,
.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.content-shell {
  padding: 1.25rem;
}

.checklist {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(59, 168, 255, 0.06);
  border: 1px solid rgba(59, 168, 255, 0.12);
}

.checklist li::before {
  content: "•";
  color: var(--jp-primary);
  font-size: 1.4rem;
  line-height: 1;
  margin-top: -0.1rem;
}

.table-shell .table,
.content-shell .table,
.premium-surface .table {
  margin-bottom: 0;
}

.table-shell .table thead th,
.content-shell .table thead th,
.premium-surface .table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(247, 251, 255, 0.98);
  color: var(--jp-text);
  border-bottom-color: var(--jp-border-strong);
}

.table-shell .table tbody tr,
.content-shell .table tbody tr,
.premium-surface .table tbody tr {
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.table-shell .table tbody tr:hover,
.content-shell .table tbody tr:hover,
.premium-surface .table tbody tr:hover {
  background: rgba(59, 168, 255, 0.05);
  transform: translateY(-1px);
}

.modern-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--jp-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--jp-text);
  font-size: 0.84rem;
  font-weight: 700;
}

.empty-state {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--jp-muted);
}

.form-shell {
  padding: 1.25rem;
}

.form-shell .form-control,
.form-shell .form-select,
.content-shell .form-control,
.content-shell .form-select,
.premium-surface .form-control,
.premium-surface .form-select,
.auth-panel .form-control,
.auth-panel .form-select {
  border-radius: 0.95rem;
  border-color: rgba(59, 168, 255, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.form-shell .form-control:focus,
.form-shell .form-select:focus,
.content-shell .form-control:focus,
.content-shell .form-select:focus,
.premium-surface .form-control:focus,
.premium-surface .form-select:focus,
.auth-panel .form-control:focus,
.auth-panel .form-select:focus {
  border-color: var(--jp-primary);
  box-shadow: 0 0 0 0.2rem rgba(59, 168, 255, 0.14);
}

.page-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

.page-intro .page-heading {
  margin-bottom: 0;
}

.section-panel {
  display: grid;
  gap: 1rem;
}

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

.glass-card {
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--jp-border);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--jp-shadow-soft);
}

.aim-scope-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.aim-scope-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 168, 255, 0.10);
  color: var(--jp-primary);
  border: 1px solid rgba(59, 168, 255, 0.12);
  flex: 0 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1199.98px) {
  .site-search {
    max-width: 100%;
  }

  .dashboard-hero {
    flex-direction: column;
  }

  .stats-grid,
  .feature-grid,
  .metrics-shell,
  .soft-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    padding: 1rem 0 1.1rem;
  }

  .nav-link {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    border-radius: 0.8rem;
  }

  .search-panel {
    flex-direction: column;
  }

  .auth-visual {
    min-height: auto;
  }

  .hero-carousel-shell,
  .hero-carousel-image {
    min-height: 28rem;
    height: 28rem;
  }

  .site-main {
    padding-top: 0.75rem;
  }

  .hero-shell-flush {
    margin-top: calc(-0.75rem - 1px);
  }
}

@media (max-width: 575.98px) {
  .auth-panel,
  .auth-visual {
    padding: 1.35rem;
  }

  .profile-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 2.75rem);
  }

  .hero-carousel-shell,
  .hero-carousel-image {
    min-height: 23rem;
    height: 23rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
