.room-postcard-modal { width: min(800px,calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 20px; overflow: auto; text-align: left; }
.room-postcard-header { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: start; gap: 12px; }
.room-postcard-header h2 { margin: 4px 0 12px; font-size: clamp(24px,5vw,30px); line-height: 1.3; }
.room-postcard-note,.room-postcard-fair-note { font-size: 14px; line-height: 1.55; margin: 8px 0 12px; overflow-wrap: anywhere; }
.room-postcard-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 12px; margin: 12px 0; }
.room-postcard-fields[hidden],.room-postcard-arrival[hidden] { display: none !important; }
.room-postcard-fields label { min-width: 0; display: flex; flex-direction: column; gap: 7px; font-size: 14px; line-height: 1.5; }
.room-postcard-fields input { width: 100%; min-width: 0; box-sizing: border-box; padding: 9px 10px; border-radius: 12px; border: 2px solid #d8bac8; min-height: 44px; font: inherit; font-size: 16px; background: white; color: #604552; }
.room-postcard-fields p { grid-column: 1/-1; margin: 0; }
.room-postcard-validation,.room-postcard-status { font-size: 15px; color: #9b3b63; line-height: 1.5; overflow-wrap: anywhere; }
.room-postcard-canvas { width: 100%; height: auto; max-height: min(64dvh,590px); object-fit: contain; display: block; background: #fffaf0; border-radius: 18px; border: 1px solid #e7bdc9; box-sizing: border-box; }
.room-postcard-public-name { font-size: 21px; margin: 8px 0; overflow-wrap: anywhere; }
.room-postcard-public-caption { font-size: 16px; line-height: 1.6; margin: 6px 0 12px; overflow-wrap: anywhere; }
.room-postcard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.room-postcard-actions button { flex: 1 1 200px; min-height: 44px; font-size: 16px; padding: 10px 14px; white-space: normal; overflow-wrap: anywhere; }
.room-postcard-fair-note { padding: 10px 12px; border-radius: 12px; background: #e8f3e9; color: #53695c; }
.room-postcard-open { min-height: 44px; padding: 9px 16px; font-size: 15px; margin: 6px 4px; white-space: normal; }
@media(max-width:500px) { .room-postcard-modal { padding: 16px 12px; } .room-postcard-fields { grid-template-columns: minmax(0,1fr); gap: 10px; } .room-postcard-actions button { flex-basis: 135px; } }
@media(max-height:480px) and (orientation:landscape) { .room-postcard-modal { padding: 12px 16px; } .room-postcard-header h2 { font-size: 23px; } .room-postcard-canvas { max-height: 190px; } }
