.cj-system-news-trigger {
  flex: 0 0 42px;
  padding: 0;
  color: #24344d;
  font: inherit;
  cursor: pointer;
  appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cj-system-news-trigger:hover {
  border-color: #93d9b2;
  box-shadow: 0 10px 26px rgba(24, 110, 68, .14);
  transform: translateY(-1px);
}

.cj-system-news-trigger:focus-visible,
.cj-system-news-layer button:focus-visible {
  outline: 3px solid rgba(22, 163, 74, .28);
  outline-offset: 3px;
}

.notification .cj-system-news-icon,
.cj-system-news-trigger .cj-system-news-icon {
  position: static;
  display: inline;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 19px;
  line-height: 1;
}

.notification .cj-system-news-badge,
.cj-system-news-trigger .cj-system-news-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 13px rgba(153, 27, 27, .22);
}

.cj-system-news-badge[hidden] {
  display: none !important;
}

.cj-system-news-trigger.has-pending {
  border-color: #7ad5a1;
  background: #effcf5;
}

body.cj-system-news-open {
  overflow: hidden;
}

.cj-system-news-layer,
.cj-system-news-layer * {
  box-sizing: border-box;
}

.cj-system-news-layer[hidden] {
  display: none !important;
}

.cj-system-news-layer {
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: rgba(15, 28, 45, .68);
  backdrop-filter: blur(7px);
}

.cj-system-news-dialog {
  width: min(980px, 100%);
  max-height: calc(100dvh - 36px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(214, 226, 236, .92);
  border-radius: 26px;
  background: #fff;
  color: #1c2c42;
  box-shadow: 0 30px 90px rgba(8, 25, 44, .33);
}

.cj-system-news-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 28px 21px;
  border-bottom: 1px solid #e2eaf1;
  background: linear-gradient(125deg, #f1fcf6 0%, #f7fbff 54%, #fff8ec 100%);
}

.cj-system-news-kicker {
  display: block;
  margin-bottom: 5px;
  color: #08783f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cj-system-news-dialog-header h2 {
  margin: 0;
  color: #152941;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.cj-system-news-dialog-header p {
  margin: 8px 0 0;
  color: #667890;
  font-size: 14px;
  font-weight: 700;
}

.cj-system-news-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d6e3ed;
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  color: #33465e;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.cj-system-news-dialog-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  overflow: hidden;
}

.cj-system-news-list-region {
  min-width: 0;
  overflow-y: auto;
  padding: 18px 14px;
  border-right: 1px solid #e3eaf1;
  background: #f7fafc;
}

.cj-system-news-list-region[hidden] {
  display: none;
}

.cj-system-news-list-region[hidden] + .cj-system-news-detail {
  grid-column: 1 / -1;
}

.cj-system-news-list {
  display: grid;
  gap: 9px;
}

.cj-system-news-list-item {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid #dbe5ed;
  border-radius: 15px;
  background: #fff;
  color: #24364e;
  text-align: left;
  cursor: pointer;
}

.cj-system-news-list-item:hover,
.cj-system-news-list-item.active {
  border-color: #69cb95;
  background: #eefaf4;
}

.cj-system-news-list-item.pending .cj-system-news-list-meta {
  color: #b45309;
}

.cj-system-news-list-title,
.cj-system-news-list-meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cj-system-news-list-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.cj-system-news-list-meta {
  color: #6c7e93;
  font-size: 11px;
  font-weight: 700;
}

.cj-system-news-detail {
  min-width: 0;
  min-height: 300px;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  overflow-wrap: anywhere;
}

.cj-system-news-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 13px;
  margin-bottom: 16px;
  color: #6b7d91;
  font-size: 12px;
  font-weight: 700;
}

.cj-system-news-release {
  padding: 5px 10px;
  border: 1px solid #b9e6cc;
  border-radius: 999px;
  background: #ecfdf3;
  color: #08783f;
  font-size: 11px;
  font-weight: 900;
}

.cj-system-news-detail-title {
  margin: 0;
  color: #14283f;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.08;
}

.cj-system-news-summary {
  margin: 16px 0 22px;
  color: #40536b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.cj-system-news-body-copy {
  margin: 14px 0;
  color: #4d5f75;
  font-size: 15px;
  line-height: 1.68;
  white-space: pre-line;
}

.cj-system-news-text-section {
  margin-top: 24px;
  padding: 19px 20px;
  border: 1px solid #dce7ef;
  border-radius: 17px;
  background: #f8fbfd;
}

.cj-system-news-text-section h4 {
  margin: 0 0 10px;
  color: #18334f;
  font-size: 15px;
}

.cj-system-news-points {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding-left: 21px;
  color: #42566d;
  font-size: 14px;
  line-height: 1.52;
}

.cj-system-news-points li::marker {
  color: #10a65d;
}

.cj-system-news-read-state {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
  padding: 14px 16px;
  border: 1px solid #bde7cf;
  border-radius: 15px;
  background: #effbf4;
  color: #17663d;
  font-weight: 800;
}

.cj-system-news-read-state span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #19a75f;
  color: #fff;
}

.cj-system-news-read-state p {
  margin: 0;
}

.cj-system-news-empty {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 11px;
  padding: 30px;
  color: #60738a;
  text-align: center;
}

.cj-system-news-empty strong {
  color: #1d334c;
  font-size: 18px;
}

.cj-system-news-empty p {
  max-width: 440px;
  margin: 0;
  line-height: 1.55;
}

.cj-system-news-empty.is-error {
  color: #9f2e2e;
}

.cj-system-news-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #cfeedd;
  border-top-color: #0fa65d;
  border-radius: 50%;
  animation: cj-system-news-spin .8s linear infinite;
}

.cj-system-news-dialog-footer {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  border-top: 1px solid #e1e9ef;
  background: #fff;
}

.cj-system-news-dialog-footer > div {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.cj-system-news-status {
  min-width: 0;
  margin: 0;
  color: #5c6f85;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cj-system-news-status.is-error {
  color: #b42318;
}

.cj-system-news-primary,
.cj-system-news-secondary {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cj-system-news-primary {
  border: 1px solid #09874a;
  background: linear-gradient(135deg, #0da85d, #087a43);
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 128, 69, .2);
}

.cj-system-news-primary:disabled {
  cursor: wait;
  opacity: .68;
}

.cj-system-news-primary[hidden] {
  display: none !important;
}

.cj-system-news-secondary {
  border: 1px solid #cfdae4;
  background: #fff;
  color: #34475f;
}

@keyframes cj-system-news-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
  .cj-system-news-layer {
    align-items: end;
    padding: 10px 10px max(10px, env(safe-area-inset-bottom));
  }

  .cj-system-news-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  .cj-system-news-dialog-header {
    padding: 19px 18px 16px;
  }

  .cj-system-news-dialog-header h2 {
    font-size: 26px;
  }

  .cj-system-news-dialog-main {
    grid-template-columns: minmax(0, 1fr);
    overflow-y: auto;
  }

  .cj-system-news-list-region {
    max-height: 150px;
    overflow-y: auto;
    padding: 11px 12px;
    border-right: 0;
    border-bottom: 1px solid #e3eaf1;
  }

  .cj-system-news-detail {
    min-height: 230px;
    overflow: visible;
    padding: 24px 19px 28px;
  }

  .cj-system-news-detail-title {
    font-size: 28px;
  }

  .cj-system-news-dialog-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 13px 16px max(13px, env(safe-area-inset-bottom));
  }

  .cj-system-news-dialog-footer > div {
    width: 100%;
    margin-left: 0;
  }

  .cj-system-news-dialog-footer button {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .cj-system-news-dialog-footer > div {
    flex-direction: column-reverse;
  }

  .cj-system-news-dialog-footer button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cj-system-news-trigger,
  .cj-system-news-spinner {
    animation: none;
    transition: none;
  }
}
