:root {
  --green-dark: #003d1e;
  --green-main: #1d9c48;
  --green-soft: #e8f5ed;
  --gold: #f49521;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #d9e3db;
  --danger: #a11f1f;
}

.egr-shell {
  direction: rtl;
  font-family: "Tajawal", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff, #f7faf8);
  min-height: 100vh;
}

.egr-container {
  width: min(1140px, 92%);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.egr-page-head {
  background: #fff;
  border: 1px solid var(--border);
  border-right: 6px solid var(--green-main);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
}

.egr-page-head h1 {
  margin: 0;
  color: var(--green-dark);
}

.egr-page-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.egr-top-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.egr-top-links a,
.egr-top-links .egr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  color: var(--green-dark);
}

.egr-badge {
  background: #fff8eb;
  border-color: #f0d39f;
  color: #8e600b;
}

.egr-inline-form {
  margin: 0;
}

.egr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}

.egr-card h2,
.egr-card h3,
.egr-card h4 {
  margin-top: 0;
  color: var(--green-dark);
}

.egr-muted,
.egr-card small {
  color: var(--muted);
}

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

.egr-stats article {
  background: var(--green-soft);
  border: 1px solid #cde8d7;
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.egr-stats h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 1.7rem;
}

.egr-stats p {
  margin: 0.35rem 0 0;
}

.egr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.egr-btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.52rem 0.85rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.egr-btn-sm {
  padding: 0.36rem 0.66rem;
  font-size: 0.86rem;
  line-height: 1.2;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.egr-action-buttons {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.egr-btn-primary {
  background: var(--green-main);
  color: #fff;
}

.egr-btn-primary:hover {
  background: #11863b;
}

.egr-btn-light {
  background: #fff;
  border-color: var(--green-main);
  color: var(--green-main);
}

.egr-btn-light:hover {
  background: var(--green-soft);
}

.egr-btn-danger {
  background: var(--danger);
  color: #fff;
}

.egr-form {
  display: grid;
  gap: 0.75rem;
}

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

.egr-col-full {
  grid-column: span 2;
}

.egr-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.egr-form input,
.egr-form textarea,
.egr-form select {
  width: 100%;
  border: 1px solid #ccd8ce;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.96rem;
}

.egr-form input:not([type="checkbox"]):not([type="file"]),
.egr-form select {
  min-height: 44px;
}

.egr-form select {
  padding-top: 0;
  padding-bottom: 0;
}

.egr-form input:focus,
.egr-form textarea:focus,
.egr-form select:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(29, 156, 72, 0.14);
}

.egr-submit-section-title {
  margin: 0.25rem 0 0;
  color: var(--green-dark);
}

.egr-form label.egr-submit-declaration {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdfb;
  padding: 0.7rem;
  font-weight: 600;
}

.egr-form label.egr-submit-declaration input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.egr-submit-declaration span {
  line-height: 1.7;
}

.egr-submit-after {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f7fbf8;
  padding: 0.75rem;
}

.egr-submit-after p {
  margin: 0 0 0.25rem;
}

.egr-submit-after ul {
  margin: 0;
  padding-right: 1.2rem;
  line-height: 1.9;
}

.egr-review-note {
  border: 1px solid #f0d39f;
  background: #fff8eb;
  color: #6d4e0a;
  border-radius: 10px;
  padding: 0.82rem 0.95rem;
  margin: 0.45rem 0 1rem;
  line-height: 1.8;
}

.egr-review-form .egr-submit-section-title {
  margin: 0.15rem 0 0.45rem;
}

.egr-review-criterion {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdfb;
  padding: 0.75rem;
}

.egr-review-criterion h4 {
  margin: 0 0 0.35rem;
  color: var(--green-dark);
}

.egr-review-criterion p {
  margin: 0 0 0.35rem;
  color: #334155;
  line-height: 1.8;
}

.egr-review-criterion ul {
  margin: 0;
  padding-right: 1.2rem;
  line-height: 1.8;
}

.egr-review-result {
  border: 1px solid #c9e6d5;
  border-radius: 10px;
  background: #f0f8f3;
  color: #0d5a2f;
  padding: 0.72rem;
}

.egr-filter {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.egr-table-wrap {
  overflow-x: auto;
}

.egr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.egr-table th,
.egr-table td {
  text-align: right;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  padding: 0.58rem;
}

.egr-table th {
  background: #f3faf6;
  color: var(--green-dark);
}

.egr-files,
.egr-files-cell {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.egr-files a,
.egr-files-cell a {
  background: #f0f8f3;
  border: 1px solid #c9e6d5;
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
  text-decoration: none;
}

.egr-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.egr-abstract {
  background: #f8fafc;
  border: 1px solid #e9edf1;
  border-radius: 10px;
  padding: 0.75rem;
  line-height: 1.75;
}

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

.egr-list li {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem;
  background: #fff;
}

.egr-notification-list {
  gap: 0.7rem;
}

.egr-note-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.egr-note-item.is-unread {
  border-right: 4px solid var(--green-main);
  background: #f6fbf8;
}

.egr-note-content {
  flex: 1;
  display: grid;
  gap: 0.35rem;
}

.egr-note-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.egr-note-type {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  border: 1px solid #cde2d5;
  background: #edf8f1;
  color: #0f6234;
  font-size: 0.78rem;
  font-weight: 700;
}

.egr-note-time {
  color: var(--muted);
}

.egr-note-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.egr-sub-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
}

.egr-dashboard-recent {
  margin-top: 0.75rem;
}

.egr-dashboard-columns {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.8fr);
  gap: 0.8rem;
  margin-top: 0.85rem;
  align-items: start;
}

.egr-dashboard-side {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.egr-dashboard-logs .egr-list {
  gap: 0.6rem;
}

.egr-dashboard-logs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.egr-dashboard-logs-head h3 {
  margin: 0;
}

.egr-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-weight: 700;
  font-size: 0.83rem;
}

.st-screening { background: #fff4dd; color: #8f6308; }
.st-review { background: #e6f3ff; color: #0a62aa; }
.st-complete { background: #eee9ff; color: #5237aa; }
.st-accepted { background: #dcf7e8; color: #0c7e38; }
.st-rejected { background: #ffe8e8; color: #9f1d1d; }
.st-default { background: #f1f5f9; color: #334155; }

.egr-flash {
  border: 1px solid;
  border-radius: 10px;
  padding: 0.7rem;
  margin-bottom: 0.75rem;
}

.egr-success { background: #eaf9ef; border-color: #a8ddb9; color: #0f7f39; }
.egr-error { background: #fff1f1; border-color: #f1b3b3; color: #a01a1a; }

.egr-hero-pro {
  position: relative;
  background: radial-gradient(circle at top right, rgba(29, 156, 72, 0.16), transparent 45%), linear-gradient(160deg, #ffffff, #f7fcf9);
  border: 1px solid #d4e5da;
  border-radius: 18px;
  padding: 2.45rem 1.2rem 1.15rem;
  margin-bottom: 1rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(9, 62, 31, 0.08);
}

.egr-corner-logo {
  position: absolute;
  top: 14px;
  width: 122px;
  height: 122px;
  border-radius: 16px;
  border: 1px solid #d8e6dc;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(6, 48, 24, 0.07);
}

.egr-corner-right {
  right: 12px;
}

.egr-corner-left {
  left: 12px;
}

.egr-corner-logo img {
  width: 102px;
  height: 102px;
  object-fit: contain;
}

.egr-hero-tag {
  margin: 0;
  color: #0c6a35;
  font-weight: 700;
  font-size: 0.9rem;
}

.egr-hero-pro h2 {
  margin: 0.3rem 0 0;
  color: #0c4f2a;
  font-size: clamp(1.45rem, 3.1vw, 2.15rem);
  line-height: 1.35;
}

.egr-hero-subtitle {
  margin: 0.35rem 0 0;
  color: #145f36;
  font-size: 1.05rem;
  font-weight: 700;
}

.egr-hero-lead {
  margin: 0.55rem auto 0;
  max-width: 820px;
  color: #334155;
  line-height: 1.9;
  font-size: 1rem;
}

.egr-hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.82rem;
}

.egr-main-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.48rem;
  margin-top: 0.88rem;
}

.egr-main-links a {
  flex: 0 1 205px;
  max-width: 205px;
  border: 1px solid #cde1d4;
  border-radius: 11px;
  background: #ffffff;
  color: #0d4f29;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 0.54rem 0.42rem;
  text-align: center;
}

.egr-main-links a:hover {
  border-color: #9ed0b2;
  background: #f4fbf7;
}

.egr-home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.15rem;
  margin-bottom: 0.95rem;
  background: linear-gradient(130deg, #0a4223 0%, #1d9c48 55%, #17803d 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(2, 48, 22, 0.24);
}

.egr-home-hero::before,
.egr-home-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.egr-home-hero::before {
  width: 220px;
  height: 220px;
  left: -95px;
  top: -105px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}

.egr-home-hero::after {
  width: 180px;
  height: 180px;
  right: -65px;
  bottom: -85px;
  background: radial-gradient(circle, rgba(244, 149, 33, 0.3), rgba(244, 149, 33, 0));
}

.egr-home-hero > * {
  position: relative;
  z-index: 1;
}

.egr-home-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.egr-home-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.26rem 0.6rem 0.26rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 700;
  font-size: 0.92rem;
}

.egr-home-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 999px;
  padding: 0.15rem;
}

.egr-home-kicker {
  margin: 0;
  display: inline-flex;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 0.87rem;
  font-weight: 700;
}

.egr-home-hero h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.45;
  color: #fff;
}

.egr-home-lead {
  margin: 0.6rem 0 0;
  max-width: 880px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
}

.egr-home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.egr-home-submit-btn {
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(7, 50, 24, 0.3);
}

.egr-home-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.egr-home-shortcuts a {
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.5rem 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.egr-home-shortcuts a:hover {
  background: rgba(255, 255, 255, 0.21);
}

.egr-home-section {
  scroll-margin-top: 120px;
  border-radius: 16px;
  padding: 1rem 1.05rem;
}

.egr-hero-pro + .egr-home-section {
  margin-top: 1.35rem;
}

.egr-home-section h2 {
  margin: 0 0 0.7rem;
  color: #0c4f2a;
  font-size: 1.35rem;
  text-align: center;
}

.egr-home-section h3 {
  color: #145f36;
  margin: 0 0 0.44rem;
}

.egr-home-brief {
  margin: 0 0 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d4e4da;
  border-radius: 12px;
  background: linear-gradient(160deg, #f8fcfa, #ffffff);
}

.egr-home-brief-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  align-items: stretch;
  direction: ltr;
  margin: 0 0 0.85rem;
}

.egr-home-brief-logo {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.egr-home-brief-logo img {
  width: min(100%, 440px);
  height: auto;
  object-fit: contain;
  display: block;
}

.egr-home-brief-content {
  margin: 0;
  direction: rtl;
}

.egr-home-brief p {
  margin: 0;
  line-height: 1.95;
  color: #1f3f2c;
  text-align: justify;
  text-justify: inter-word;
}

.egr-home-brief p + p {
  margin-top: 0.42rem;
}

.egr-home-section p,
.egr-home-list li,
.egr-home-ordered li {
  font-size: 0.98rem;
  text-align: justify;
  text-justify: inter-word;
}

.egr-home-list li,
.egr-home-ordered li {
  margin-bottom: 0.38rem;
}

.egr-home-list li strong,
.egr-home-ordered li strong {
  color: #0e5a2f;
  font-weight: 800;
}

.egr-home-stats-card {
  background: linear-gradient(160deg, #f8fcfa, #ffffff);
}

.egr-home-stats article {
  background: #ffffff;
}

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

.egr-home-box {
  border: 1px solid #d5e6db;
  border-radius: 12px;
  padding: 0.72rem;
  background: #f9fcfa;
}

.egr-home-box h3 {
  margin: 0 0 0.38rem;
}

.egr-home-list {
  margin: 0;
  padding-right: 1.2rem;
  line-height: 1.9;
}

.egr-home-list-numbered {
  list-style: none;
  padding-right: 0;
  counter-reset: egr-home-item;
}

.egr-home-list-numbered li {
  position: relative;
  counter-increment: egr-home-item;
  padding: 0.48rem 2.75rem 0.48rem 0.2rem;
  margin-bottom: 0.46rem;
  border-bottom: 1px dashed var(--border);
}

.egr-home-list-numbered li:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.egr-home-list-numbered li::before {
  content: counter(egr-home-item, decimal-leading-zero);
  position: absolute;
  right: 0;
  top: 0.32rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10743f, #0b5c31);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(16, 116, 63, 0.25);
}

.egr-home-ordered {
  margin: 0;
  padding: 0;
  line-height: 1.95;
  list-style: none !important;
  list-style-type: none !important;
}

.egr-home-ordered > li {
  display: block;
  position: relative;
  padding-right: 1.8rem;
  list-style: none !important;
  list-style-type: none !important;
}

.egr-home-ordered > li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.egr-home-ordered > li::before {
  content: none !important;
}

.egr-ordered-index {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-block;
  min-width: 1.5rem;
  color: #0e5a2f;
  font-weight: 700;
  line-height: 1.95;
  font-variant-numeric: tabular-nums;
  direction: rtl;
  unicode-bidi: bidi-override;
  text-align: left;
  white-space: nowrap;
}

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

.egr-home-stats article {
  border: 1px solid #cfe4d5;
  border-radius: 12px;
  padding: 0.65rem;
  text-align: center;
  background: #f5fbf7;
}

.egr-home-stats h3 {
  margin: 0;
  color: #0e5a2f;
  font-size: 1.55rem;
}

.egr-home-stats p {
  margin: 0.33rem 0 0;
}

.egr-home-faq {
  display: grid;
  gap: 0.5rem;
}

.egr-home-faq details {
  border: 1px solid #d5e6db;
  border-radius: 11px;
  background: #fbfdfb;
  padding: 0.6rem 0.75rem;
}

.egr-home-faq summary {
  cursor: pointer;
  color: #0d4b28;
  font-weight: 700;
}

.egr-home-faq p {
  margin: 0.45rem 0 0;
  color: #334155;
  line-height: 1.8;
}

.egr-actions-center {
  justify-content: center;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell {
  --text: #e6edf3;
  --muted: #a6b4c2;
  --border: #2e3d49;
  --green-soft: #112a1e;
  background: rgb(39, 41, 45) !important;
  color: var(--text);
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-page-head,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-card,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-sub-card,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-list li,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-box,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-brief,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-review-criterion,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-submit-after,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-faq details {
  background: #182129 !important;
  border-color: #30404d !important;
  color: #dfe8ee;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-note-item.is-unread {
  background: #1f2a33 !important;
  border-right-color: #2fa85d;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-note-type {
  background: #153126;
  border-color: #2b6b4b;
  color: #c6f4dc;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-note-time {
  color: #9eb1c2;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-page-head h1,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-card h2,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-card h3,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-card h4,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-section h2,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-section h3 {
  color: #e3f5e9 !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-list li strong,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-ordered li strong,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-faq summary {
  color: #69f0ad !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-page-head p,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-muted,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell p,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell li,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell td,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell label,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-home-faq summary {
  color: #d6e2ea !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-top-links a,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-top-links .egr-badge {
  background: #1a2430 !important;
  border-color: #344553 !important;
  color: #e2ecf5 !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-badge {
  background: #2f2617 !important;
  border-color: #5d4a2a !important;
  color: #ffd386 !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-btn-light {
  background: #1c2833 !important;
  border-color: #375062 !important;
  color: #d7e6f4 !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-btn-light:hover {
  background: #243544 !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-main-links a {
  background: #1a2530 !important;
  border-color: #30424f !important;
  color: #dce7f1 !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-main-links a:hover {
  background: #223240 !important;
  border-color: #3a5364 !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-form input,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-form textarea,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-form select {
  background: #121a21 !important;
  border-color: #324352 !important;
  color: #e6edf4 !important;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-form input::placeholder,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-form textarea::placeholder {
  color: #95a4b3;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-form select option {
  background: #121a21;
  color: #e6edf4;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-table th {
  background: #13232c;
  color: #d9e6ef;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-files a,
:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-files-cell a {
  background: #152720;
  border-color: #2b5742;
  color: #c9ecd9;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-abstract {
  background: #111b23;
  border-color: #2f3f4b;
  color: #d8e2ea;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-review-note {
  background: #31250f;
  border-color: #70552a;
  color: #ffd995;
}

:is(
  html.dark,
  html.dark-mode,
  html.night,
  html[data-theme="dark"],
  html[data-bs-theme="dark"],
  body.dark,
  body.dark-mode,
  body.night,
  body[data-theme="dark"],
  body[data-bs-theme="dark"],
  body[class*="dark-mode"],
  body[class*="darkmode"],
  body[class*="night"]
) .egr-shell .egr-review-result {
  background: #133423;
  border-color: #2c704d;
  color: #c5f5dc;
}

/* Fallback dark-mode support for host themes that use custom dark class names */
html[class*="dark"] .egr-shell,
body[class*="dark"] .egr-shell,
html[class*="night"] .egr-shell,
body[class*="night"] .egr-shell,
html[data-theme*="dark"] .egr-shell,
body[data-theme*="dark"] .egr-shell,
html[data-mode*="dark"] .egr-shell,
body[data-mode*="dark"] .egr-shell,
html[data-color-mode*="dark"] .egr-shell,
body[data-color-mode*="dark"] .egr-shell {
  --text: #e6edf3;
  --muted: #a6b4c2;
  --border: #30404d;
  --green-soft: #12281e;
  background: rgb(39, 41, 45) !important;
  color: var(--text) !important;
}

html[class*="dark"] .egr-shell .egr-page-head,
body[class*="dark"] .egr-shell .egr-page-head,
html[class*="night"] .egr-shell .egr-page-head,
body[class*="night"] .egr-shell .egr-page-head,
html[data-theme*="dark"] .egr-shell .egr-page-head,
body[data-theme*="dark"] .egr-shell .egr-page-head,
html[data-mode*="dark"] .egr-shell .egr-page-head,
body[data-mode*="dark"] .egr-shell .egr-page-head,
html[data-color-mode*="dark"] .egr-shell .egr-page-head,
body[data-color-mode*="dark"] .egr-shell .egr-page-head,
html[class*="dark"] .egr-shell .egr-card,
body[class*="dark"] .egr-shell .egr-card,
html[class*="night"] .egr-shell .egr-card,
body[class*="night"] .egr-shell .egr-card,
html[data-theme*="dark"] .egr-shell .egr-card,
body[data-theme*="dark"] .egr-shell .egr-card,
html[data-mode*="dark"] .egr-shell .egr-card,
body[data-mode*="dark"] .egr-shell .egr-card,
html[data-color-mode*="dark"] .egr-shell .egr-card,
body[data-color-mode*="dark"] .egr-shell .egr-card,
html[class*="dark"] .egr-shell .egr-sub-card,
body[class*="dark"] .egr-shell .egr-sub-card,
html[class*="night"] .egr-shell .egr-sub-card,
body[class*="night"] .egr-shell .egr-sub-card,
html[data-theme*="dark"] .egr-shell .egr-sub-card,
body[data-theme*="dark"] .egr-shell .egr-sub-card,
html[data-mode*="dark"] .egr-shell .egr-sub-card,
body[data-mode*="dark"] .egr-shell .egr-sub-card,
html[data-color-mode*="dark"] .egr-shell .egr-sub-card,
body[data-color-mode*="dark"] .egr-shell .egr-sub-card,
html[class*="dark"] .egr-shell .egr-home-brief,
body[class*="dark"] .egr-shell .egr-home-brief,
html[class*="night"] .egr-shell .egr-home-brief,
body[class*="night"] .egr-shell .egr-home-brief,
html[data-theme*="dark"] .egr-shell .egr-home-brief,
body[data-theme*="dark"] .egr-shell .egr-home-brief,
html[data-mode*="dark"] .egr-shell .egr-home-brief,
body[data-mode*="dark"] .egr-shell .egr-home-brief,
html[data-color-mode*="dark"] .egr-shell .egr-home-brief,
body[data-color-mode*="dark"] .egr-shell .egr-home-brief,
html[class*="dark"] .egr-shell .egr-home-box,
body[class*="dark"] .egr-shell .egr-home-box,
html[class*="night"] .egr-shell .egr-home-box,
body[class*="night"] .egr-shell .egr-home-box,
html[data-theme*="dark"] .egr-shell .egr-home-box,
body[data-theme*="dark"] .egr-shell .egr-home-box,
html[data-mode*="dark"] .egr-shell .egr-home-box,
body[data-mode*="dark"] .egr-shell .egr-home-box,
html[data-color-mode*="dark"] .egr-shell .egr-home-box,
body[data-color-mode*="dark"] .egr-shell .egr-home-box,
html[class*="dark"] .egr-shell .egr-home-faq details,
body[class*="dark"] .egr-shell .egr-home-faq details,
html[class*="night"] .egr-shell .egr-home-faq details,
body[class*="night"] .egr-shell .egr-home-faq details,
html[data-theme*="dark"] .egr-shell .egr-home-faq details,
body[data-theme*="dark"] .egr-shell .egr-home-faq details,
html[data-mode*="dark"] .egr-shell .egr-home-faq details,
body[data-mode*="dark"] .egr-shell .egr-home-faq details,
html[data-color-mode*="dark"] .egr-shell .egr-home-faq details,
body[data-color-mode*="dark"] .egr-shell .egr-home-faq details {
  background: #182129 !important;
  border-color: #30404d !important;
  color: #dfe8ee !important;
}

html[class*="dark"] .egr-shell .egr-hero-pro,
body[class*="dark"] .egr-shell .egr-hero-pro,
html[class*="night"] .egr-shell .egr-hero-pro,
body[class*="night"] .egr-shell .egr-hero-pro,
html[data-theme*="dark"] .egr-shell .egr-hero-pro,
body[data-theme*="dark"] .egr-shell .egr-hero-pro,
html[data-mode*="dark"] .egr-shell .egr-hero-pro,
body[data-mode*="dark"] .egr-shell .egr-hero-pro,
html[data-color-mode*="dark"] .egr-shell .egr-hero-pro,
body[data-color-mode*="dark"] .egr-shell .egr-hero-pro {
  background: radial-gradient(circle at 30% -25%, rgba(29, 156, 72, 0.3), rgba(11, 19, 26, 0) 46%),
              linear-gradient(160deg, #1a2732, #16222b) !important;
  border-color: #304451 !important;
}

html[class*="dark"] .egr-shell h1,
body[class*="dark"] .egr-shell h1,
html[class*="night"] .egr-shell h1,
body[class*="night"] .egr-shell h1,
html[data-theme*="dark"] .egr-shell h1,
body[data-theme*="dark"] .egr-shell h1,
html[data-mode*="dark"] .egr-shell h1,
body[data-mode*="dark"] .egr-shell h1,
html[data-color-mode*="dark"] .egr-shell h1,
body[data-color-mode*="dark"] .egr-shell h1,
html[class*="dark"] .egr-shell h2,
body[class*="dark"] .egr-shell h2,
html[class*="night"] .egr-shell h2,
body[class*="night"] .egr-shell h2,
html[data-theme*="dark"] .egr-shell h2,
body[data-theme*="dark"] .egr-shell h2,
html[data-mode*="dark"] .egr-shell h2,
body[data-mode*="dark"] .egr-shell h2,
html[data-color-mode*="dark"] .egr-shell h2,
body[data-color-mode*="dark"] .egr-shell h2,
html[class*="dark"] .egr-shell h3,
body[class*="dark"] .egr-shell h3,
html[class*="night"] .egr-shell h3,
body[class*="night"] .egr-shell h3,
html[data-theme*="dark"] .egr-shell h3,
body[data-theme*="dark"] .egr-shell h3,
html[data-mode*="dark"] .egr-shell h3,
body[data-mode*="dark"] .egr-shell h3,
html[data-color-mode*="dark"] .egr-shell h3,
body[data-color-mode*="dark"] .egr-shell h3,
html[class*="dark"] .egr-shell h4,
body[class*="dark"] .egr-shell h4,
html[class*="night"] .egr-shell h4,
body[class*="night"] .egr-shell h4,
html[data-theme*="dark"] .egr-shell h4,
body[data-theme*="dark"] .egr-shell h4,
html[data-mode*="dark"] .egr-shell h4,
body[data-mode*="dark"] .egr-shell h4,
html[data-color-mode*="dark"] .egr-shell h4,
body[data-color-mode*="dark"] .egr-shell h4 {
  color: #e3f5e9 !important;
}

html[class*="dark"] .egr-shell p,
body[class*="dark"] .egr-shell p,
html[class*="night"] .egr-shell p,
body[class*="night"] .egr-shell p,
html[data-theme*="dark"] .egr-shell p,
body[data-theme*="dark"] .egr-shell p,
html[data-mode*="dark"] .egr-shell p,
body[data-mode*="dark"] .egr-shell p,
html[data-color-mode*="dark"] .egr-shell p,
body[data-color-mode*="dark"] .egr-shell p,
html[class*="dark"] .egr-shell li,
body[class*="dark"] .egr-shell li,
html[class*="night"] .egr-shell li,
body[class*="night"] .egr-shell li,
html[data-theme*="dark"] .egr-shell li,
body[data-theme*="dark"] .egr-shell li,
html[data-mode*="dark"] .egr-shell li,
body[data-mode*="dark"] .egr-shell li,
html[data-color-mode*="dark"] .egr-shell li,
body[data-color-mode*="dark"] .egr-shell li,
html[class*="dark"] .egr-shell td,
body[class*="dark"] .egr-shell td,
html[class*="night"] .egr-shell td,
body[class*="night"] .egr-shell td,
html[data-theme*="dark"] .egr-shell td,
body[data-theme*="dark"] .egr-shell td,
html[data-mode*="dark"] .egr-shell td,
body[data-mode*="dark"] .egr-shell td,
html[data-color-mode*="dark"] .egr-shell td,
body[data-color-mode*="dark"] .egr-shell td,
html[class*="dark"] .egr-shell label,
body[class*="dark"] .egr-shell label,
html[class*="night"] .egr-shell label,
body[class*="night"] .egr-shell label,
html[data-theme*="dark"] .egr-shell label,
body[data-theme*="dark"] .egr-shell label,
html[data-mode*="dark"] .egr-shell label,
body[data-mode*="dark"] .egr-shell label,
html[data-color-mode*="dark"] .egr-shell label,
body[data-color-mode*="dark"] .egr-shell label,
html[class*="dark"] .egr-shell .egr-muted,
body[class*="dark"] .egr-shell .egr-muted,
html[class*="night"] .egr-shell .egr-muted,
body[class*="night"] .egr-shell .egr-muted,
html[data-theme*="dark"] .egr-shell .egr-muted,
body[data-theme*="dark"] .egr-shell .egr-muted,
html[data-mode*="dark"] .egr-shell .egr-muted,
body[data-mode*="dark"] .egr-shell .egr-muted,
html[data-color-mode*="dark"] .egr-shell .egr-muted,
body[data-color-mode*="dark"] .egr-shell .egr-muted {
  color: #d7e3ec !important;
}

html[class*="dark"] .egr-shell .egr-home-list li strong,
body[class*="dark"] .egr-shell .egr-home-list li strong,
html[class*="night"] .egr-shell .egr-home-list li strong,
body[class*="night"] .egr-shell .egr-home-list li strong,
html[data-theme*="dark"] .egr-shell .egr-home-list li strong,
body[data-theme*="dark"] .egr-shell .egr-home-list li strong,
html[data-mode*="dark"] .egr-shell .egr-home-list li strong,
body[data-mode*="dark"] .egr-shell .egr-home-list li strong,
html[data-color-mode*="dark"] .egr-shell .egr-home-list li strong,
body[data-color-mode*="dark"] .egr-shell .egr-home-list li strong,
html[class*="dark"] .egr-shell .egr-home-ordered li strong,
body[class*="dark"] .egr-shell .egr-home-ordered li strong,
html[class*="night"] .egr-shell .egr-home-ordered li strong,
body[class*="night"] .egr-shell .egr-home-ordered li strong,
html[data-theme*="dark"] .egr-shell .egr-home-ordered li strong,
body[data-theme*="dark"] .egr-shell .egr-home-ordered li strong,
html[data-mode*="dark"] .egr-shell .egr-home-ordered li strong,
body[data-mode*="dark"] .egr-shell .egr-home-ordered li strong,
html[data-color-mode*="dark"] .egr-shell .egr-home-ordered li strong,
body[data-color-mode*="dark"] .egr-shell .egr-home-ordered li strong,
html[class*="dark"] .egr-shell .egr-home-faq summary,
body[class*="dark"] .egr-shell .egr-home-faq summary,
html[class*="night"] .egr-shell .egr-home-faq summary,
body[class*="night"] .egr-shell .egr-home-faq summary,
html[data-theme*="dark"] .egr-shell .egr-home-faq summary,
body[data-theme*="dark"] .egr-shell .egr-home-faq summary,
html[data-mode*="dark"] .egr-shell .egr-home-faq summary,
body[data-mode*="dark"] .egr-shell .egr-home-faq summary,
html[data-color-mode*="dark"] .egr-shell .egr-home-faq summary,
body[data-color-mode*="dark"] .egr-shell .egr-home-faq summary {
  color: #69f0ad !important;
}

html[class*="dark"] .egr-shell .egr-form input,
body[class*="dark"] .egr-shell .egr-form input,
html[class*="night"] .egr-shell .egr-form input,
body[class*="night"] .egr-shell .egr-form input,
html[data-theme*="dark"] .egr-shell .egr-form input,
body[data-theme*="dark"] .egr-shell .egr-form input,
html[data-mode*="dark"] .egr-shell .egr-form input,
body[data-mode*="dark"] .egr-shell .egr-form input,
html[data-color-mode*="dark"] .egr-shell .egr-form input,
body[data-color-mode*="dark"] .egr-shell .egr-form input,
html[class*="dark"] .egr-shell .egr-form textarea,
body[class*="dark"] .egr-shell .egr-form textarea,
html[class*="night"] .egr-shell .egr-form textarea,
body[class*="night"] .egr-shell .egr-form textarea,
html[data-theme*="dark"] .egr-shell .egr-form textarea,
body[data-theme*="dark"] .egr-shell .egr-form textarea,
html[data-mode*="dark"] .egr-shell .egr-form textarea,
body[data-mode*="dark"] .egr-shell .egr-form textarea,
html[data-color-mode*="dark"] .egr-shell .egr-form textarea,
body[data-color-mode*="dark"] .egr-shell .egr-form textarea,
html[class*="dark"] .egr-shell .egr-form select,
body[class*="dark"] .egr-shell .egr-form select,
html[class*="night"] .egr-shell .egr-form select,
body[class*="night"] .egr-shell .egr-form select,
html[data-theme*="dark"] .egr-shell .egr-form select,
body[data-theme*="dark"] .egr-shell .egr-form select,
html[data-mode*="dark"] .egr-shell .egr-form select,
body[data-mode*="dark"] .egr-shell .egr-form select,
html[data-color-mode*="dark"] .egr-shell .egr-form select,
body[data-color-mode*="dark"] .egr-shell .egr-form select {
  background: #111a21 !important;
  border-color: #334857 !important;
  color: #e6edf4 !important;
}

html[class*="dark"] .egr-shell .egr-table th,
body[class*="dark"] .egr-shell .egr-table th,
html[class*="night"] .egr-shell .egr-table th,
body[class*="night"] .egr-shell .egr-table th,
html[data-theme*="dark"] .egr-shell .egr-table th,
body[data-theme*="dark"] .egr-shell .egr-table th,
html[data-mode*="dark"] .egr-shell .egr-table th,
body[data-mode*="dark"] .egr-shell .egr-table th,
html[data-color-mode*="dark"] .egr-shell .egr-table th,
body[data-color-mode*="dark"] .egr-shell .egr-table th {
  background: #13232c !important;
  color: #d9e6ef !important;
}

html[class*="dark"] .egr-shell .egr-table td,
body[class*="dark"] .egr-shell .egr-table td,
html[class*="night"] .egr-shell .egr-table td,
body[class*="night"] .egr-shell .egr-table td,
html[data-theme*="dark"] .egr-shell .egr-table td,
body[data-theme*="dark"] .egr-shell .egr-table td,
html[data-mode*="dark"] .egr-shell .egr-table td,
body[data-mode*="dark"] .egr-shell .egr-table td,
html[data-color-mode*="dark"] .egr-shell .egr-table td,
body[data-color-mode*="dark"] .egr-shell .egr-table td {
  border-color: #30404d !important;
}

html[class*="dark"] .egr-shell .egr-top-links a,
body[class*="dark"] .egr-shell .egr-top-links a,
html[class*="night"] .egr-shell .egr-top-links a,
body[class*="night"] .egr-shell .egr-top-links a,
html[data-theme*="dark"] .egr-shell .egr-top-links a,
body[data-theme*="dark"] .egr-shell .egr-top-links a,
html[data-mode*="dark"] .egr-shell .egr-top-links a,
body[data-mode*="dark"] .egr-shell .egr-top-links a,
html[data-color-mode*="dark"] .egr-shell .egr-top-links a,
body[data-color-mode*="dark"] .egr-shell .egr-top-links a,
html[class*="dark"] .egr-shell .egr-top-links .egr-badge,
body[class*="dark"] .egr-shell .egr-top-links .egr-badge,
html[class*="night"] .egr-shell .egr-top-links .egr-badge,
body[class*="night"] .egr-shell .egr-top-links .egr-badge,
html[data-theme*="dark"] .egr-shell .egr-top-links .egr-badge,
body[data-theme*="dark"] .egr-shell .egr-top-links .egr-badge,
html[data-mode*="dark"] .egr-shell .egr-top-links .egr-badge,
body[data-mode*="dark"] .egr-shell .egr-top-links .egr-badge,
html[data-color-mode*="dark"] .egr-shell .egr-top-links .egr-badge,
body[data-color-mode*="dark"] .egr-shell .egr-top-links .egr-badge {
  background: #1a2430 !important;
  border-color: #344553 !important;
  color: #e2ecf5 !important;
}

html[class*="dark"] .egr-shell .egr-main-links a,
body[class*="dark"] .egr-shell .egr-main-links a,
html[class*="night"] .egr-shell .egr-main-links a,
body[class*="night"] .egr-shell .egr-main-links a,
html[data-theme*="dark"] .egr-shell .egr-main-links a,
body[data-theme*="dark"] .egr-shell .egr-main-links a,
html[data-mode*="dark"] .egr-shell .egr-main-links a,
body[data-mode*="dark"] .egr-shell .egr-main-links a,
html[data-color-mode*="dark"] .egr-shell .egr-main-links a,
body[data-color-mode*="dark"] .egr-shell .egr-main-links a {
  background: #1a2530 !important;
  border-color: #30424f !important;
  color: #dce7f1 !important;
}

html[class*="dark"] .egr-shell .egr-main-links a:hover,
body[class*="dark"] .egr-shell .egr-main-links a:hover,
html[class*="night"] .egr-shell .egr-main-links a:hover,
body[class*="night"] .egr-shell .egr-main-links a:hover,
html[data-theme*="dark"] .egr-shell .egr-main-links a:hover,
body[data-theme*="dark"] .egr-shell .egr-main-links a:hover,
html[data-mode*="dark"] .egr-shell .egr-main-links a:hover,
body[data-mode*="dark"] .egr-shell .egr-main-links a:hover,
html[data-color-mode*="dark"] .egr-shell .egr-main-links a:hover,
body[data-color-mode*="dark"] .egr-shell .egr-main-links a:hover {
  background: #223240 !important;
  border-color: #3a5364 !important;
}

html[class*="dark"] .egr-shell .egr-btn-light,
body[class*="dark"] .egr-shell .egr-btn-light,
html[class*="night"] .egr-shell .egr-btn-light,
body[class*="night"] .egr-shell .egr-btn-light,
html[data-theme*="dark"] .egr-shell .egr-btn-light,
body[data-theme*="dark"] .egr-shell .egr-btn-light,
html[data-mode*="dark"] .egr-shell .egr-btn-light,
body[data-mode*="dark"] .egr-shell .egr-btn-light,
html[data-color-mode*="dark"] .egr-shell .egr-btn-light,
body[data-color-mode*="dark"] .egr-shell .egr-btn-light {
  background: #1c2833 !important;
  border-color: #375062 !important;
  color: #d7e6f4 !important;
}

html[class*="dark"] .egr-shell .egr-files a,
body[class*="dark"] .egr-shell .egr-files a,
html[class*="night"] .egr-shell .egr-files a,
body[class*="night"] .egr-shell .egr-files a,
html[data-theme*="dark"] .egr-shell .egr-files a,
body[data-theme*="dark"] .egr-shell .egr-files a,
html[data-mode*="dark"] .egr-shell .egr-files a,
body[data-mode*="dark"] .egr-shell .egr-files a,
html[data-color-mode*="dark"] .egr-shell .egr-files a,
body[data-color-mode*="dark"] .egr-shell .egr-files a,
html[class*="dark"] .egr-shell .egr-files-cell a,
body[class*="dark"] .egr-shell .egr-files-cell a,
html[class*="night"] .egr-shell .egr-files-cell a,
body[class*="night"] .egr-shell .egr-files-cell a,
html[data-theme*="dark"] .egr-shell .egr-files-cell a,
body[data-theme*="dark"] .egr-shell .egr-files-cell a,
html[data-mode*="dark"] .egr-shell .egr-files-cell a,
body[data-mode*="dark"] .egr-shell .egr-files-cell a,
html[data-color-mode*="dark"] .egr-shell .egr-files-cell a,
body[data-color-mode*="dark"] .egr-shell .egr-files-cell a {
  background: #152720 !important;
  border-color: #2b5742 !important;
  color: #c9ecd9 !important;
}

:is(
  html[class*="dark"],
  body[class*="dark"],
  html[class*="night"],
  body[class*="night"],
  html[data-theme*="dark"],
  body[data-theme*="dark"],
  html[data-mode*="dark"],
  body[data-mode*="dark"],
  html[data-color-mode*="dark"],
  body[data-color-mode*="dark"]
) .egr-shell .egr-note-item {
  background: #182129 !important;
  border-color: #30404d !important;
  color: #dfe8ee !important;
}

:is(
  html[class*="dark"],
  body[class*="dark"],
  html[class*="night"],
  body[class*="night"],
  html[data-theme*="dark"],
  body[data-theme*="dark"],
  html[data-mode*="dark"],
  body[data-mode*="dark"],
  html[data-color-mode*="dark"],
  body[data-color-mode*="dark"]
) .egr-shell .egr-note-item.is-unread {
  background: #1f2a33 !important;
  border-right-color: #2fa85d !important;
}

:is(
  html[class*="dark"],
  body[class*="dark"],
  html[class*="night"],
  body[class*="night"],
  html[data-theme*="dark"],
  body[data-theme*="dark"],
  html[data-mode*="dark"],
  body[data-mode*="dark"],
  html[data-color-mode*="dark"],
  body[data-color-mode*="dark"]
) .egr-shell .egr-note-type {
  background: #153126 !important;
  border-color: #2b6b4b !important;
  color: #c6f4dc !important;
}

:is(
  html[class*="dark"],
  body[class*="dark"],
  html[class*="night"],
  body[class*="night"],
  html[data-theme*="dark"],
  body[data-theme*="dark"],
  html[data-mode*="dark"],
  body[data-mode*="dark"],
  html[data-color-mode*="dark"],
  body[data-color-mode*="dark"]
) .egr-shell .egr-note-time {
  color: #9eb1c2 !important;
}

:is(
  html[class*="dark"],
  body[class*="dark"],
  html[class*="night"],
  body[class*="night"],
  html[data-theme*="dark"],
  body[data-theme*="dark"],
  html[data-mode*="dark"],
  body[data-mode*="dark"],
  html[data-color-mode*="dark"],
  body[data-color-mode*="dark"],
  html[data-bs-theme*="dark"],
  body[data-bs-theme*="dark"]
) .egr-shell .egr-home-brief-logo {
  background: transparent !important;
  border-color: transparent !important;
}

html[class*="dark"] .egr-shell .st-screening,
body[class*="dark"] .egr-shell .st-screening,
html[class*="night"] .egr-shell .st-screening,
body[class*="night"] .egr-shell .st-screening,
html[data-theme*="dark"] .egr-shell .st-screening,
body[data-theme*="dark"] .egr-shell .st-screening,
html[data-mode*="dark"] .egr-shell .st-screening,
body[data-mode*="dark"] .egr-shell .st-screening,
html[data-color-mode*="dark"] .egr-shell .st-screening,
body[data-color-mode*="dark"] .egr-shell .st-screening {
  background: #3a301b !important;
  color: #ffd995 !important;
}

html[class*="dark"] .egr-shell .st-review,
body[class*="dark"] .egr-shell .st-review,
html[class*="night"] .egr-shell .st-review,
body[class*="night"] .egr-shell .st-review,
html[data-theme*="dark"] .egr-shell .st-review,
body[data-theme*="dark"] .egr-shell .st-review,
html[data-mode*="dark"] .egr-shell .st-review,
body[data-mode*="dark"] .egr-shell .st-review,
html[data-color-mode*="dark"] .egr-shell .st-review,
body[data-color-mode*="dark"] .egr-shell .st-review {
  background: #183246 !important;
  color: #9ed6ff !important;
}

html[class*="dark"] .egr-shell .st-complete,
body[class*="dark"] .egr-shell .st-complete,
html[class*="night"] .egr-shell .st-complete,
body[class*="night"] .egr-shell .st-complete,
html[data-theme*="dark"] .egr-shell .st-complete,
body[data-theme*="dark"] .egr-shell .st-complete,
html[data-mode*="dark"] .egr-shell .st-complete,
body[data-mode*="dark"] .egr-shell .st-complete,
html[data-color-mode*="dark"] .egr-shell .st-complete,
body[data-color-mode*="dark"] .egr-shell .st-complete {
  background: #2f2747 !important;
  color: #d0c3ff !important;
}

html[class*="dark"] .egr-shell .st-accepted,
body[class*="dark"] .egr-shell .st-accepted,
html[class*="night"] .egr-shell .st-accepted,
body[class*="night"] .egr-shell .st-accepted,
html[data-theme*="dark"] .egr-shell .st-accepted,
body[data-theme*="dark"] .egr-shell .st-accepted,
html[data-mode*="dark"] .egr-shell .st-accepted,
body[data-mode*="dark"] .egr-shell .st-accepted,
html[data-color-mode*="dark"] .egr-shell .st-accepted,
body[data-color-mode*="dark"] .egr-shell .st-accepted {
  background: #173726 !important;
  color: #b8f3d2 !important;
}

html[class*="dark"] .egr-shell .st-rejected,
body[class*="dark"] .egr-shell .st-rejected,
html[class*="night"] .egr-shell .st-rejected,
body[class*="night"] .egr-shell .st-rejected,
html[data-theme*="dark"] .egr-shell .st-rejected,
body[data-theme*="dark"] .egr-shell .st-rejected,
html[data-mode*="dark"] .egr-shell .st-rejected,
body[data-mode*="dark"] .egr-shell .st-rejected,
html[data-color-mode*="dark"] .egr-shell .st-rejected,
body[data-color-mode*="dark"] .egr-shell .st-rejected {
  background: #3a2020 !important;
  color: #ffc2c2 !important;
}

@media (max-width: 900px) {
  .egr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egr-grid-2,
  .egr-meta { grid-template-columns: 1fr; }
  .egr-col-full { grid-column: auto; }
  .egr-dashboard-columns { grid-template-columns: 1fr; }
  .egr-main-links a {
    flex-basis: calc(50% - 0.24rem);
    max-width: none;
  }
  .egr-home-brief-layout { grid-template-columns: 1fr; }
  .egr-home-brief-logo { padding: 0.7rem; }
  .egr-home-brief-logo img { width: min(100%, 240px); }
  .egr-home-grid,
  .egr-home-shortcuts,
  .egr-home-stats { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .egr-filter { grid-template-columns: 1fr; }
  .egr-dashboard-logs-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .egr-note-item {
    flex-direction: column;
    align-items: stretch;
  }
  .egr-note-actions {
    justify-content: flex-start;
  }
  .egr-home-brief-logo img {
    width: min(100%, 180px);
  }
  .egr-hero-pro {
    padding-top: 6.9rem;
    text-align: center;
  }
  .egr-shell .egr-hero-pro h2,
  .egr-shell .egr-hero-pro .egr-hero-tag,
  .egr-shell .egr-hero-pro .egr-hero-subtitle {
    text-align: center !important;
  }
  .egr-corner-logo {
    top: 10px;
    width: 88px;
    height: 88px;
    border-radius: 12px;
  }
  .egr-corner-right {
    right: 10px;
  }
  .egr-corner-left {
    left: 10px;
  }
  .egr-corner-logo img {
    width: 72px;
    height: 72px;
  }
  .egr-main-links a {
    flex-basis: 100%;
  }
  .egr-home-cta { flex-direction: column; }
  .egr-home-logo { width: 100%; justify-content: center; }
}
