/* What's new: top bar on the website, and the phone Menu. */
#nav-whats-new-wrap { position: relative; }
#nav-whats-new {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  padding: 0.25rem 0.45rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
}
#nav-whats-new:hover { color: #0f766e; }
#nav-whats-new[aria-expanded="true"] {
  color: #0f766e;
  border-color: #99f6e4;
  background: #f0fdfa;
}
.wn-count {
  min-width: 1.1rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
}
.wn-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 70;
  width: min(24rem, calc(100vw - 1.25rem));
  max-height: min(32rem, 70vh);
  overflow: auto;
  padding: 0.85rem;
  text-align: left;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.wn-panel.open { display: block; }
.wn-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.wn-panel-bar h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}
.wn-text-btn, .wn-got, .wn-show, .wn-save {
  border-radius: 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
}
.wn-text-btn {
  border: 0;
  background: transparent;
  color: #0f766e;
  font-weight: 600;
  padding: 0.2rem 0.15rem;
}
.wn-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.55rem;
  background: #fff;
}
.wn-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.wn-pill, .wn-new {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0f766e;
  background: #ccfbf1;
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  line-height: 1.3;
}
.wn-fr, .wn-mod, .wn-draft {
  font-size: 0.65rem;
  color: #64748b;
}
.wn-title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  line-height: 1.3;
  color: #0f172a;
}
.wn-kicker {
  margin: 0.35rem 0 0.1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.wn-summary, .wn-who, .wn-note, .wn-empty, .wn-error {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #334155;
}
.wn-shot {
  margin: 0.45rem 0 0;
}
.wn-shot img {
  display: block;
  width: 100%;
  max-height: 9rem;
  object-fit: cover;
  border-radius: 0.45rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.wn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.wn-show, .wn-got, .wn-save {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  border: 1px solid #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 600;
}
.wn-got { background: #fff; }
.wn-edit {
  margin-top: 0.55rem;
  font-size: 0.75rem;
}
.wn-edit summary { cursor: pointer; color: #0f766e; font-weight: 600; }
.wn-field { display: block; margin: 0.35rem 0; }
.wn-field span { display: block; margin-bottom: 0.15rem; color: #64748b; }
.wn-field input, .wn-field textarea, .wn-field select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.4rem;
  padding: 0.3rem 0.4rem;
  font: inherit;
  color: #0f172a;
  background: #fff;
}
.wn-section {
  margin: 0.8rem 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
#tab-sidebar a.tab-btn { position: relative; }
#tab-sidebar .wn-new { margin-left: auto; flex-shrink: 0; }
#tab-sidebar.side-collapsed .wn-new {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  overflow: hidden;
  font-size: 0;
  margin-left: 0.15rem;
  background: #0d9488;
}
#whats-new-phone .wn-panel {
  position: static;
  display: block;
  width: auto;
  max-height: none;
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}
.menu-item .wn-new, .more-tile .wn-new, .nav-mod .wn-new { margin-left: auto; }
[data-theme="dark"] #nav-whats-new { color: #cbd5e1; }
[data-theme="dark"] #nav-whats-new[aria-expanded="true"] {
  color: #99f6e4;
  border-color: #115e59;
  background: rgba(15, 118, 110, 0.25);
}
[data-theme="dark"] .wn-panel,
[data-theme="dark"] .wn-card {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}
[data-theme="dark"] .wn-panel-bar h2,
[data-theme="dark"] .wn-title { color: #f8fafc; }
[data-theme="dark"] .wn-summary,
[data-theme="dark"] .wn-who,
[data-theme="dark"] .wn-note,
[data-theme="dark"] .wn-empty { color: #cbd5e1; }
[data-theme="dark"] .wn-field input,
[data-theme="dark"] .wn-field textarea,
[data-theme="dark"] .wn-field select {
  background: #020617;
  color: #f8fafc;
  border-color: #334155;
}
