.advanced-panel {
  position: fixed;
  z-index: 40;
  right: 12px;
  top: 110px;
  bottom: 38px;
  width: 354px;
  display: flex;
  flex-direction: column;
  background: #fdfcf8;
  border: 1px solid #d6ded5;
  border-radius: 12px;
  box-shadow: 0 12px 45px #253c3b22;
  color: #314943;
}
.advanced-panel[hidden] {
  display: none;
}
.advanced-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.advanced-heading strong {
  font-size: 15px;
}
.advanced-heading button {
  border: 0;
  font-size: 20px;
  background: none;
}
.advanced-tabs {
  display: flex;
  gap: 5px;
  padding: 0 12px 12px;
  border-bottom: 1px solid #e1e6dd;
}
.advanced-tabs button {
  flex: 1;
}
.advanced-tabs .active {
  background: #e1eee6;
  color: #21634e;
  border-color: #9db9aa;
}
#advancedContent {
  overflow: auto;
  padding: 12px;
  flex: 1;
}
.advanced-help {
  font-size: 12px;
  line-height: 1.7;
  color: #64776e;
  margin: 0 0 12px;
}
.advanced-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.history-list {
  margin: 8px 0;
  padding: 0;
  list-style: none;
}
.history-list button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 10px 8px;
}
.history-list button small {
  margin-left: auto;
  color: #8b9791;
}
.history-list button.current {
  background: #dfede4;
  color: #176447;
  font-weight: 600;
}
.history-list button.future {
  opacity: 0.5;
}
.history-list button:hover {
  background: #edf2ec;
}
.snapshot-list article {
  background: #f4f6f0;
  border: 1px solid #e1e7dc;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
}
.snapshot-list strong,
.snapshot-list time {
  display: block;
  overflow-wrap: anywhere;
}
.snapshot-list time {
  color: #7d8981;
  font-size: 11px;
  margin: 6px 0 10px;
}
.snapshot-list button {
  margin-right: 6px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  border: 1px solid var(--studio-border, #364249);
  border-radius: 7px;
  background: var(--ui-field-bg, #192328);
  padding-right: 8px;
}
.check-row > [data-check-issue] {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 7px;
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 10px;
  border: 0;
  background: var(--ui-field-bg, #192328);
  color: var(--ui-field-text, #e7eef1);
}
.check-row b {
  font-size: 11px;
}
.check-row small {
  grid-column: 2;
  font-size: 10px;
  color: var(--studio-muted, #9aabb4);
}
.severity-error b {
  color: #bb4b46;
}
.severity-warning b {
  color: #a77b26;
}
.severity-info b {
  color: #447d94;
}
.check-stale {
  background: #fff0d7;
  color: #896523;
  padding: 9px;
  border-radius: 6px;
}
.check-summary,
.advanced-empty {
  font-size: 12px;
  color: #66776c;
  line-height: 1.8;
}
.advanced-object-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid #dce4da;
}
.canvas-help {
  max-width: calc(100% - 210px);
  line-height: 1.8;
  white-space: normal;
  pointer-events: none;
}
button[data-geometry-action] {
  font-size: 12px;
}
