.panel.design-examples { margin-block:10px 12px; }
.design-example-heading { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-bottom:8px; }
.design-example-swipe { font-size:9px; font-weight:900; white-space:nowrap; }
.design-examples h2.label {
  width:fit-content;
  margin:0;
  padding:4px 7px;
  background:#111;
  color:#fff;
  -webkit-text-fill-color:#fff;
  font-size:9px;
  line-height:1.3;
}
.design-example-grid {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 18px) / 4);
  gap:6px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
}
.design-example-grid button {
  position:relative;
  aspect-ratio:1;
  padding:0;
  border:2px solid #111;
  background:#fff;
  cursor:pointer;
  min-width:0;
  scroll-snap-align:start;
}
.design-example-grid img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.design-example-loading {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#111;
  font-size:clamp(8px, 2vw, 10px);
  font-weight:900;
  pointer-events:none;
}
.design-example-grid button[aria-pressed="true"] { outline:2px solid #1454a5; outline-offset:-4px; }


@media(min-width:961px) {
  .position-block .nudge-grid { grid-template-columns:repeat(3,29px); grid-template-rows:repeat(3,24px); gap:4px; margin-left:8px; }
  .position-block .ctrl-btn { height:24px; }
  .actionbar .action { padding-block:6px; }
  .right-body .actionbar { margin-top:6px; border-top:0; }
  .right-panel-fit .actionbar:has(~ .design-examples:not([hidden])) {
    position:static;
    margin-inline:0;
    padding:4px 0;
  }
}
.mobile-customizer > .design-examples {
  margin-inline:8px;
  background:#f7f7f7;
  box-shadow:2px 2px 0 rgba(0,0,0,.18);
}
@media(min-width:700px) and (max-width:1100px) and (orientation:portrait) {
  .mobile-customizer > .design-examples { padding:10px; }
  .design-example-grid { grid-auto-columns:calc((100% - 30px) / 6); }
}
