.updates-heading {
  align-items: center;
}
.updates-heading p {
  color: var(--muted);
  margin: 8px 0 0;
}
.updates-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
.updates-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.updates-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
}
.updates-filter:hover,
.updates-filter.is-selected {
  background: rgba(200, 170, 105, 0.12);
  color: var(--gold);
}
.updates-filter span {
  font-size: 11px;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}
.updates-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 300px;
}
#updates-query {
  min-width: 0;
  width: 100%;
}
.updates-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 2px;
  color: var(--muted);
  font-size: 12px;
}
.updates-layout {
  display: grid;
  grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.updates-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.updates-entry {
  display: block;
  position: relative;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.018);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.updates-entry:hover {
  background: rgba(255, 255, 255, 0.035);
}
.updates-entry.is-selected {
  border-color: rgba(200, 170, 105, 0.5);
  background: rgba(200, 170, 105, 0.055);
}
.updates-entry h3 {
  margin: 12px 0 8px;
  font-size: 15px;
  line-height: 1.5;
}
.updates-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.updates-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.updates-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}
.updates-tag-update {
  color: #d7bc86;
  background: rgba(200, 170, 105, 0.1);
}
.updates-tag-maintenance {
  color: #9ac9d5;
  background: rgba(120, 185, 204, 0.1);
}
.updates-edited {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted);
}
.updates-reader {
  padding: clamp(20px, 3vw, 42px);
  min-width: 0;
  overflow-wrap: anywhere;
}
.updates-reader h2 {
  margin: 20px 0 24px;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.35;
}
.updates-revised,
.updates-footnote {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.updates-revised {
  margin: -10px 0 25px;
}
.updates-footnote {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.updates-body {
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}
.updates-article-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.updates-article-header > .updates-meta {
  min-width: 0;
}
.updates-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
}
.updates-actions .secondary {
  font-size: 12px;
  padding: 9px 12px;
}
.updates-share-status {
  color: var(--gold);
  font-size: 12px;
}
.updates-share-fallback {
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  min-width: 0;
  width: min(260px, 65vw);
}
.updates-body img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  object-fit: contain;
  margin: 20px auto;
  border-radius: 5px;
}
.updates-body div,
.updates-body p {
  min-width: 0;
  max-width: 100%;
  margin: 8px 0;
}
.updates-body strong,
.updates-body b {
  color: var(--gold);
  font-weight: 700;
}
.updates-body .updates-value {
  color: #a8d8e4;
  font-variant-numeric: tabular-nums;
}
.updates-body .updates-change {
  color: #eed19a;
  background: rgba(200, 170, 105, 0.12);
  border-radius: 3px;
  padding: 1px 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-variant-numeric: tabular-nums;
}
.updates-body ul,
.updates-body ol {
  padding-left: 24px;
  margin: 14px 0;
}
.updates-body li {
  margin: 9px 0;
}
.updates-body h2,
.updates-body h3,
.updates-body h4 {
  color: var(--gold);
  font-size: 18px;
  margin: 24px 0 12px;
}
.updates-table {
  overflow-x: auto;
  max-width: 100%;
}
.updates-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.updates-table:has(img) table {
  table-layout: fixed;
}
.updates-table:has(img) :is(th, td) {
  min-width: 0;
}
.updates-table th,
.updates-table td {
  border: 1px solid var(--border);
  padding: 9px 12px;
  min-width: 100px;
  text-align: left;
}
.updates-table th {
  color: var(--gold);
  background: rgba(200, 170, 105, 0.07);
}
.updates-table td:first-child {
  font-weight: 600;
}
.updates-back {
  display: none;
}
.updates-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 12px 0;
}
.updates-pagination .secondary {
  padding: 9px 10px;
}
.updates-empty {
  padding: 36px;
  color: var(--muted);
}
.updates-layout .skeleton-line {
  max-width: 100%;
}
.updates-reader .skeleton-copy {
  margin-bottom: 22px;
}
@media (max-width: 1000px) {
  .updates-layout {
    grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .updates-heading {
    align-items: start;
    gap: 12px;
  }
  .updates-heading .secondary {
    padding: 9px 10px;
    font-size: 12px;
  }
  .updates-toolbar {
    padding: 12px;
    gap: 12px;
  }
  .updates-filter {
    padding: 9px 8px;
    font-size: 12px;
    gap: 6px;
  }
  .updates-search {
    flex-basis: 100%;
  }
  .updates-status {
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
  }
  .updates-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .updates-layout:not(.updates-has-selection) .updates-reader {
    display: none;
  }
  .updates-has-selection .updates-list {
    display: none;
  }
  .updates-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 24px;
  }
  .updates-back .icon {
    transform: rotate(180deg);
    width: 16px;
  }
  .updates-reader {
    padding: 20px 16px;
  }
}

.updates-push {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  min-width: 0;
}
.updates-push-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
}
.updates-push-copy {
  flex: 1 1 280px;
  min-width: 0;
}
.updates-push-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.updates-push-title > .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.updates-push-title > strong {
  font-size: 15px;
}
.updates-push-copy > p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.updates-push-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: #dbbe8214;
  color: var(--gold);
}
.updates-push-badge.is-enabled {
  color: var(--sage);
  background: #9bc9a21a;
}
.updates-push-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.updates-push-actions button {
  font-size: 12px;
  min-height: 36px;
  padding: 8px 12px;
}
.updates-push-types {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.updates-push-types legend {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 8px;
}
.updates-push-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.updates-push-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  cursor: pointer;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0;
}
.updates-push-options label.is-selected {
  border-color: #dbbe8245;
  background: #dbbe8210;
  color: var(--gold);
}
.updates-push-options input {
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 0;
  accent-color: var(--gold);
}
.updates-push-types p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.updates-push-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px 20px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.updates-push-footer > small {
  font-size: 11px;
  color: var(--muted);
  line-height: 32px;
}
.updates-push-footer .boss-ios-help {
  flex-basis: auto;
  border: 0;
  font-size: 12px;
}
.updates-push-footer .boss-ios-help[open] {
  flex-basis: 100%;
  order: 1;
}
.updates-push-footer summary {
  min-height: 32px;
  padding: 6px 0;
  font-weight: 400;
}
.updates-push .boss-error {
  margin: 0;
}
@media (max-width: 480px) {
  .updates-push {
    padding: 16px;
    gap: 12px;
  }
  .updates-push-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .updates-push-options label {
    padding: 8px;
    min-height: 40px;
  }
  .updates-push-actions button {
    min-height: 40px;
  }
  .updates-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
}
