/* Version indicator — uses the existing Daon charcoal/gold palette. */
.version-sidebar-button {
  padding: 0;
  margin: 3px 0 0;
  width: fit-content;
  background: transparent;
  border: 0;
  color: #e7c444;
  text-align: left;
  font: inherit;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: .1px;
  cursor: pointer;
}
.version-sidebar-button:hover { color: #ffe178; text-decoration: underline; }
.version-footer-button {
  background: #fffaf0;
  border: 1px solid #e9dcaa;
  border-radius: 8px;
  padding: 7px 10px;
  color: #76590d;
  white-space: nowrap;
  font: inherit;
  font-size: 10px;
  font-weight: 740;
  cursor: pointer;
}
.version-footer-button:hover { background: #fff1c2; border-color: #d4b34e; }
.version-sidebar-button:focus-visible,
.version-footer-button:focus-visible,
.version-dialog button:focus-visible { outline: 3px solid #dbb017; outline-offset: 3px; }
.version-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(500px, calc(100% - 28px));
  max-height: min(80vh, 690px);
  padding: clamp(23px, 4vw, 34px);
  border: 1px solid #e5e6e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 90px #0003;
  color: #18191a;
  font-family: inherit;
}
.version-dialog::backdrop { background: #10130db8; }
.version-dialog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.version-kicker { color: #947313; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.version-dialog h2 { font-size: 25px; font-weight: 790; letter-spacing: -.8px; margin: 10px 0 5px; }
.version-dialog-label { color: #60665e; font-size: 13px; line-height: 1.5; }
.version-close {
  flex: none; width: 35px; height: 35px; border: 0;
  border-radius: 9px; color: #535950; background: #f3f4f0;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.version-details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 25px 0 20px; }
.version-details > div { padding: 14px 15px; border: 1px solid #ecece7; border-radius: 10px; background: #fafaf8; min-width: 0; }
.version-details dt { margin: 0 0 7px; font-size: 10px; font-weight: 730; letter-spacing: .4px; color: #81877f; }
.version-details dd { margin: 0; font-size: 13px; font-weight: 735; color: #30342b; overflow-wrap: anywhere; }
.version-details dd.version-hash { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #88690d; }
.version-summary { border-top: 1px solid #e9eae4; padding-top: 17px; margin: 0 0 23px; color: #687168; font-size: 13px; line-height: 1.6; }
.version-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.version-copy { padding: 11px 15px; border: 0; border-radius: 8px; background: #ebc12a; color: #171814; font-size: 12px; font-weight: 760; cursor: pointer; }
.version-copy:hover { background: #d5a818; }
.version-copy:disabled { opacity: .5; cursor: not-allowed; }
.version-copy-status { font-size: 11px; color: #60665e; }
@media(max-width: 530px) { .version-details { gap: 10px; } .version-dialog h2 { font-size: 22px; } }
