.actions {
  grid-template-columns: 1fr 1fr;
}
#save-config,
#share-config {
  grid-column: auto;
}
#request-config {
  grid-column: 1 / -1;
}
.actions button[data-busy="true"] {
  opacity: .55;
  cursor: wait;
}

.component-master-ui {
  display: grid;
  gap: 7px;
  margin: 13px 0 3px;
  padding: 12px 0 2px;
  border-top: 1px solid #deded9;
}
.component-master-heading {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  color: #70706b;
}
.component-master-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.component-master-row .file-button {
  margin: 0 !important;
  white-space: nowrap;
}
#component-status {
  min-width: 0;
  color: #62625d;
  font-size: 10px;
  line-height: 1.3;
}
.component-master-note { margin-top: 1px; }

#loading-overlay.loading-banner {
  inset: auto 18px 18px 18px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 10px;
  background: rgba(247, 247, 243, .92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  backdrop-filter: blur(8px);
}
#loading-overlay.loading-banner[hidden] { display: none; }
.loading-banner .yoyo-loader-logo {
  width: 28px;
  height: 46px;
  justify-self: center;
  animation-duration: 2.2s;
}
.loading-banner-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.loading-phase {
  min-width: 0;
  color: #1c1c1a;
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.35;
  font-weight: 560;
  letter-spacing: -.01em;
}
.loading-phase.is-entering {
  animation: yoyo-loading-phase-in .38s ease-out;
}
.loading-phase-count {
  color: #777771;
  font-size: 9px;
  letter-spacing: .13em;
  white-space: nowrap;
}
@keyframes yoyo-loading-phase-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
body[data-bg="black"] #loading-overlay.loading-banner {
  border-color: rgba(255,255,255,.16);
  background: rgba(20,20,20,.9);
  box-shadow: 0 8px 30px rgba(0,0,0,.28);
}
body[data-bg="black"] .loading-phase { color: #f4f4f1; }
body[data-bg="black"] .loading-phase-count { color: #aaa; }

/* Public configurator: no loader. The progressive geometry build itself is
   the loading feedback, so nothing competes visually with the object. */
html.yoyo-public-boot #loading-overlay,
body.public-configurator #loading-overlay {
  display: none !important;
}

@media (max-width: 760px) {
  .component-master-row { grid-template-columns: 1fr; }
  #loading-overlay.loading-banner {
    inset: auto 10px 10px 10px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    min-height: 54px;
    padding: 8px 10px;
  }
  .loading-banner .yoyo-loader-logo {
    width: 22px;
    height: 38px;
  }
  .loading-banner-copy { gap: 8px; }
  .loading-phase {
    font-size: 11px;
    line-height: 1.3;
  }
  .loading-phase-count { font-size: 8px; }
}
