.property-collections-dialog { box-sizing: border-box; width: 520px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #d5dfeb; border-radius: 16px; background: #fff; color: #103e70; font-family: inherit; box-shadow: 0 20px 70px #102e5a40; }
.property-collections-dialog[open] { display: flex; flex-direction: column; }
.property-collections-dialog::backdrop { background: #102c4f66; }
.property-collections-dialog * { box-sizing: border-box; }
.property-collections-dialog header { position: relative; flex-shrink: 0; padding: 22px 56px; border-bottom: 1px solid #dce5ef; }
.property-collections-dialog h2 { margin: 0; font-size: 23px; line-height: 1.3; text-align: center; color: #103e70; }
.property-collections-dialog button { font: inherit; font-size: 14px; font-weight: 600; color: #103e70; background: #fff; border: 1px solid #103e70; border-radius: 8px; min-height: 42px; padding: 9px 14px; cursor: pointer; }
.property-collections-dialog button:hover:not(:disabled) { background: #edf3f8; }
.property-collections-dialog button:disabled { opacity: .5; cursor: default; }
.property-collections-dialog .collection-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; padding: 0; border: 0; font-size: 30px; font-weight: 400; }
.property-collections-dialog .collection-body { min-height: 0; overflow-y: auto; padding: 18px 24px; }
.collection-hint, .collection-empty { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: #61778b; }
.collection-list { display: grid; gap: 8px; }
.property-collections-dialog [hidden] { display: none !important; }
.collection-option { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.collection-option:hover, .collection-option:has(input:checked) { background: #f1f6fc; border-color: #cad9e9; }
.collection-glyph { flex: 0 0 54px; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #dce5ef; border-radius: 10px; background: #eef4fb; color: #103e70; font-size: 30px; font-weight: 400; }
.collection-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 600; line-height: 1.4; }
.collection-option input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: #103e70; cursor: pointer; }
.property-collections-dialog .collection-create { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 16px; padding: 10px 12px; border: 0; text-align: left; }
.collection-create .collection-glyph { background: #fff; }
.collection-editor { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 12px; margin: 12px 0; }
.collection-editor[hidden] { display: none; }
.collection-editor label { grid-column: 1 / -1; font-size: 13px; }
.collection-editor input { width: 100%; min-width: 0; padding: 10px; border: 1px solid #91aac4; border-radius: 8px; color: #103e70; font: inherit; }
.collection-name-count { grid-column: 2; justify-self: end; font-size: 13px; color: #61778b; }
.collection-status { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #103e70; overflow-wrap: anywhere; }
.collection-status:empty { display: none; }
.collection-status a { color: #103e70; text-decoration: underline; }
.property-collections-dialog .collection-retry { margin-top: 10px; }
.property-collections-dialog footer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex-shrink: 0; padding: 18px 24px; border-top: 1px solid #dce5ef; }
.property-collections-dialog footer button { min-height: 46px; }
.property-collections-dialog .collection-done { background: #103e70; color: #fff; }
.property-collections-dialog .collection-done:hover:not(:disabled) { background: #082949; }
.property-collections-dialog :focus-visible { outline: 2px solid #103e70; outline-offset: 3px; }
@media(max-width: 480px) {
  .property-collections-dialog header { padding: 20px 50px; }
  .property-collections-dialog h2 { font-size: 20px; }
  .property-collections-dialog .collection-body, .property-collections-dialog footer { padding: 16px; }
  .collection-option { padding: 8px 4px; gap: 10px; }
  .collection-glyph { flex-basis: 46px; width: 46px; height: 46px; }
  .collection-name { font-size: 14px; }
  .collection-editor { grid-template-columns: 46px minmax(0, 1fr); }
}
