/* shared-ui -- "What's new" notices (T-313, D-086). Pairs with whatsnew.js,
 * and needs tour.css too (the helper box, buttons and text styles are the
 * tour's). Every selector is scoped to .td-whatsnew*, which only
 * whatsnew.js adds, so loading this on a page without it changes nothing.
 */
.td-whatsnew {
  position: relative;
  box-sizing: border-box;
  width: 320px;
  max-width: 100%;
  padding: var(--td-space-4, 16px);
  border: 1px solid var(--td-border);
  border-left: 4px solid var(--td-accent);
  border-radius: var(--td-radius, 10px);
  background: var(--td-bg-elev);
  color: var(--td-text);
  box-shadow: var(--td-shadow, 0 8px 24px rgba(0, 0, 0, 0.25));
  font-family: var(--td-font, inherit);
  font-size: var(--td-text-md, 15px);
  line-height: 1.45;
}
.td-whatsnew-head {
  display: flex;
  align-items: center;
  gap: var(--td-space-2, 8px);
  margin: 0 0 var(--td-space-1, 4px);
}
.td-whatsnew-head .td-tour-count { margin: 0; }
.td-whatsnew-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--td-accent);
  color: var(--td-accent-text, #fff);
  font-size: var(--td-text-sm, 13px);
  font-weight: 600;
  letter-spacing: 0.02em;
}
a.td-whatsnew-guide { text-decoration: none; display: inline-block; }
@media print {
  .td-whatsnew { display: none !important; }
}
