.decor-dialog { border: none; border-radius: 20px; padding: 32px; max-width: min(460px, 90vw); text-align: center; }
.decor-dialog::backdrop { background: rgba(35, 25, 30, .6); }
.decor-dialog button { margin: 8px; }
.decor-dialog .decor-example { gap: 8px; color: var(--brand-plum); }
.decor-spinner { width: 64px; height: 64px; border-radius: 50%; background: #fa83ad; margin: 0 auto 20px; padding: 14px; }
.decor-spinner span { display: block; width: 100%; height: 100%; background: white; mask: url("/assets/iola_chair_burgundy-a94de6bc.png") center / contain no-repeat; animation: decor-spin 1.6s linear infinite; }
@keyframes decor-spin { to { transform: rotate(360deg); } }
.owner-estimate-menu > summary { background: #fa83ad; color: white; border: 0; border-radius: 50%; width: 48px; height: 48px; padding: 12px; display: flex; align-items: center; justify-content: center; list-style: none; }
.owner-estimate-menu > summary::-webkit-details-marker { display: none; }

.owner-gallery .decor-dialog button:disabled { opacity: .4; cursor: not-allowed; }

.owner-gallery-slide figcaption { padding-bottom: 0; align-items: center; }
.owner-gallery button.design-library-toggle {
  margin-left: auto; align-self: flex-end; position: relative; bottom: -1px; z-index: 1;
  font-size: 12px; padding: 12px 16px; border: 1px solid transparent; border-radius: 14px 14px 0 0; background: transparent;
}
.owner-gallery button.design-library-toggle[aria-expanded="true"] {
  color: #4f2239; background: #fff8fb; border-color: #efc7d8; border-bottom-color: #fff8fb;
}
.design-library-empty-toggle { display: flex; justify-content: flex-end; }
.design-library:not([hidden]) {
  position: relative; background: #fff8fb; border: 1px solid #efc7d8; border-radius: 18px 0 18px 18px;
  padding: 16px; box-shadow: 0 8px 24px rgba(79,34,57,.04); color: #4f2239;
}
.design-library-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 4px 2px 12px; scrollbar-color: #efc7d8 transparent; scrollbar-width: thin; }
.design-library-item { flex: 0 0 136px; min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.design-library-preview { width: 136px; height: 136px; box-sizing: border-box; padding: 3px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #efc7d8; border-radius: 12px; background: #fceaf2; color: #4f2239; text-decoration: none; }
.design-library-preview img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.design-library-item.selected .design-library-preview { border: 2.5px solid #4f2239; }
.design-library-item strong { margin-top: 4px; font-weight: 600; }
.design-library-item time { color: #806472; }
.owner-gallery button.design-library-delete { padding: 3px 0; border: 0; background: transparent; font-size: 12px; text-align: left; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.owner-gallery button.design-library-delete:disabled { opacity: .4; cursor: not-allowed; }
.design-library-navigation { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.owner-gallery .design-library-navigation button { width: 30px; height: 30px; padding: 0; border-color: #efc7d8; border-radius: 50%; font-size: 22px; }
.design-library-preview:focus-visible, .design-library-strip:focus-visible { outline: 2px solid #4f2239; outline-offset: 3px; }
.owner-gallery-controls[hidden] { display: none; }
[data-gallery-status]:empty { display: none; }
