.superseal-news-header .news-admin-trigger {
  margin-left: auto;
  border: 2px solid #81ffab;
  border-radius: 9px;
  padding: 10px 14px;
  min-height: 42px;
  background: #1d6033;
  color: #fff;
  box-shadow: 0 0 0 2px #102819, 0 0 18px #3cf67a55;
  font: 800 .82rem system-ui, sans-serif;
  letter-spacing: .03em;
  white-space: nowrap;
  cursor: pointer;
}
.superseal-news-header .news-admin-trigger:hover,
.superseal-news-header .news-admin-trigger:focus-visible {
  background: #298747;
  outline: 2px solid #c9ffdb;
  outline-offset: 2px;
}
.superseal-news-header .news-admin-trigger[hidden] { display: none; }
.news-admin-dialog {
  width: min(1060px, calc(100vw - 22px));
  max-height: 92dvh;
  border: 1px solid #58df82;
  border-radius: 15px;
  padding: 0;
  background: #07170e;
  color: #e9ffed;
  font-family: system-ui, sans-serif;
  box-shadow: 0 24px 80px #000c;
}
.news-admin-dialog::backdrop { background: #000b; }
.news-admin-inner { padding: 20px; }
.news-admin-inner > header { display: flex; justify-content: space-between; align-items: center; }
.news-admin-inner h2 { margin: 0; color: #9af6b0; font-size: 1.3rem; }
.news-admin-inner header button {
  border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer;
}
.news-admin-help { color: #c7e6ce; font-size: .89rem; }
.news-admin-layout { display: grid; grid-template-columns: minmax(190px, 30%) 1fr; gap: 16px; }
.news-admin-sidebar, .news-admin-form { min-width: 0; }
.news-admin-sidebar {
  display: flex; flex-direction: column; gap: 8px; max-height: 73dvh; overflow-y: auto;
  border: 1px solid #235e35; border-radius: 10px; padding: 10px;
}
.news-admin-form { max-height: 73dvh; overflow-y: auto; display: grid; gap: 12px; }
.news-admin-form label { display: grid; gap: 4px; color: #d6f5de; font-size: .84rem; }
.news-admin-form input:not([type="checkbox"]), .news-admin-form textarea {
  box-sizing: border-box; width: 100%; min-width: 0; padding: 10px;
  border: 1px solid #578d66; border-radius: 6px; background: #102819; color: #fff;
  font: inherit;
}
.news-admin-form textarea { resize: vertical; }
.news-admin-form fieldset { border: 1px solid #235e35; border-radius: 10px; padding: 10px; min-width: 0; }
.news-admin-form legend { padding: 0 6px; color: #a8f7bb; }
.news-admin-links { display: grid; gap: 8px; }
.news-admin-link-row { display: grid; grid-template-columns: 1fr 1.7fr auto auto auto; gap: 5px; align-items: center; }
.news-admin-dialog button {
  border: 1px solid #4dac6b; border-radius: 6px; background: #173922; color: #effff3;
  padding: 9px 10px; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.news-admin-dialog button:disabled { opacity: .5; cursor: wait; }
.news-admin-dialog button:hover:not(:disabled) { background: #285539; }
.news-admin-item { text-align: left; flex-shrink: 0; overflow-wrap: anywhere; }
.news-admin-published { display: flex !important; gap: 9px !important; align-items: center; }
.news-admin-preview {
  border: 1px dashed #4dac6b; border-radius: 10px; padding: 12px;
  background: #102519; overflow-wrap: anywhere;
}
.news-admin-preview p { white-space: pre-wrap; margin: 8px 0; font-size: .9rem; }
.news-admin-preview-links { display: flex; flex-wrap: wrap; gap: 8px; }
.news-admin-preview-links span { font-size: .77rem; color: #a9f6bd; }
.news-admin-status { margin: 0; color: #aeffd1; min-height: 1.3em; }
.superseal-news-card p { white-space: pre-line; }
.superseal-news-more {
  border: 1px solid #58df82; border-radius: 8px; padding: 12px;
  background: #173922; color: #e9ffed; font-weight: 700; cursor: pointer;
}
@media (max-width: 650px) {
  .news-admin-inner { padding: 12px; }
  .news-admin-layout { grid-template-columns: 1fr; }
  .news-admin-sidebar { max-height: 20dvh; }
  .news-admin-form { max-height: 55dvh; }
  .news-admin-link-row { grid-template-columns: 1fr 1fr auto; }
  .news-admin-link-row input { grid-column: 1 / -1; }
  .news-admin-link-row button { grid-row: auto; }
}
