.customer-position-wish-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.customer-position-door {
  break-inside: auto;
  overflow-wrap: anywhere;
}

.customer-calendar-summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem 1rem; border:1px solid var(--bs-border-color,#d9dfdc); border-radius:.6rem; }
.customer-calendar-summary-text { margin-top:.25rem; }
.customer-calendar-dialog { color:var(--bs-body-color,#26312c); background:var(--bs-body-bg,#fff); border:1px solid var(--bs-border-color,#d9dfdc); border-radius:.8rem; padding:0; width:min(960px,calc(100% - 2rem)); max-height:calc(100dvh - 2rem); box-shadow:0 1rem 4rem #0003; }
.customer-calendar-dialog::backdrop { background:#14281e80; }
.customer-calendar-dialog-header,.customer-calendar-dialog-footer { display:flex; align-items:start; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; }
.customer-calendar-dialog-header { border-bottom:1px solid var(--bs-border-color,#d9dfdc); }
.customer-calendar-dialog-body { padding:1rem 1.25rem; }
.customer-calendar-dialog-footer { border-top:1px solid var(--bs-border-color,#d9dfdc); position:sticky; bottom:0; background:var(--bs-body-bg,#fff); }
.customer-calendar-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:1.5rem; }
.customer-calendar-layout.has-preview { grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); }
.customer-calendar-selection { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.customer-calendar-selection select { width:auto; flex:1; min-width:100px; }
.customer-calendar-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); gap:.4rem; }
.customer-calendar-door-card { color:inherit; text-align:left; background:var(--bs-tertiary-bg,#f6f8f6); border:1px solid var(--bs-border-color,#d9dfdc); border-radius:.4rem; padding:.5rem; min-height:5rem; overflow:hidden; }
.customer-calendar-door-card:hover,.customer-calendar-door-card:focus-visible { border-color:var(--bs-primary,#247543); outline:2px solid var(--bs-primary,#247543); }
.customer-calendar-door-card strong,.customer-calendar-door-card small { display:block; }
.customer-calendar-door-card small { font-size:.65rem; color:var(--bs-secondary-color,#66736b); }
.customer-calendar-door-card span { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; white-space:pre-wrap; overflow-wrap:anywhere; font-size:.72rem; }
.customer-calendar-door-editor { border:1px solid var(--bs-border-color,#d9dfdc); border-radius:.5rem; padding:.8rem; }
.customer-calendar-read-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.75rem; }
@media(max-width:767px) { .customer-calendar-layout.has-preview { grid-template-columns:minmax(0,1fr); } .customer-calendar-dialog { width:calc(100% - 1rem); max-height:calc(100dvh - 1rem); } .customer-calendar-dialog-header,.customer-calendar-dialog-body,.customer-calendar-dialog-footer { padding:.85rem; } .customer-calendar-summary { align-items:start; flex-direction:column; } }
@media print { .customer-calendar-read-grid { display:block; } .customer-position-door { break-inside:auto; } }
.customer-calendar-dialog [hidden], .customer-calendar-summary[hidden] { display:none !important; }

.customer-calendar-lot-row { display:grid; grid-template-columns:minmax(0,1fr) 5rem 2.5rem; gap:.4rem; margin-top:.4rem; align-items:center; }
.customer-calendar-lot-row select { min-width:0; }
.customer-calendar-lot-row [data-calendar-lot-remove] { min-height:2.5rem; }
@media(max-width:390px) { .customer-calendar-lot-row { grid-template-columns:minmax(0,1fr) 4rem 2rem; gap:.25rem; } }
