.library-start{padding:0 0 14px;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.7)}
.library-start button{width:100%;justify-content:flex-start}.library-start button+button{margin-top:6px}
.room-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 6px}
.room-library-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:16px;min-width:0;text-align:left;border:1px solid rgba(255,255,255,.95);background:rgba(255,255,255,.5);border-radius:18px;box-shadow:0 6px 20px rgba(54,75,100,.05);white-space:normal}
.room-library-card:hover{background:rgba(255,255,255,.9);border-color:#a9b9d4;transform:translateY(-2px)}
.room-library-card small{color:#768294;font-size:11px}.room-library-card strong{font-size:15px}.room-library-card>span{font-size:12px;color:#657287}
.room-preview{height:92px;width:100%;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden;margin-bottom:6px}.room-library-card .room-preview svg{display:block;width:100%;height:92px;max-height:100%;flex:none;overflow:hidden}.room-preview polygon{fill:#ded2bd;stroke:#8e9ca9;stroke-width:1.3;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.partition-controls h3{font-size:15px;margin:0 0 8px}.partition-card{padding:12px 0;border-bottom:1px solid rgba(124,143,164,.15)}.partition-card strong{font-size:12px;font-weight:600}
.partition-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0 6px}.partition-sections button{display:flex;flex-direction:column;gap:3px;justify-content:center;min-height:51px;background:rgba(225,226,224,.8);border:1px solid rgba(168,175,183,.3);border-radius:10px}.partition-sections button small{font-size:10px}.partition-sections button.is-open{background:rgba(210,235,229,.8);border-color:#8fb8ac;color:#315f54}.partition-sections button span{font-weight:650}
.partition-actions{display:flex;justify-content:space-between;gap:4px}.partition-actions button{font-size:10px;padding:7px 3px;min-width:0}.partition-controls>.small{font-size:11px;line-height:1.5}
[hidden]{display:none!important}
@media(max-width:700px){.room-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.room-library-card{padding:12px}.room-library-card strong{font-size:13px}.room-library-card small{font-size:10px}.room-preview{height:72px}.room-library-card .room-preview svg{height:72px}}
@media(max-width:360px){.room-library-grid{grid-template-columns:1fr}}

.catalog-filter{display:block;margin:14px 0 10px}.catalog-filter>span{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}.catalog-filter select{width:100%;padding:9px 10px;border:1px solid rgba(255,255,255,.8);border-radius:11px;background:rgba(255,255,255,.45);color:inherit;font:inherit;font-size:12px}.catalog-card[hidden]{display:none}.catalog-card .furniture-size{font-size:9px;line-height:1.4;white-space:normal;margin-top:3px;color:#737e8d}.catalog-card>span{font-size:11px}.library-footer button:disabled{opacity:.42;cursor:default}
/* Two choices remain together, including on narrow screens. */
.room-library-card h3{font-size:15px;margin:0;line-height:1.35}.room-library-card .room-furnishing-info{font-size:11px;line-height:1.5;color:#68788a;margin:7px 0 0;min-height:34px}.room-variant-actions{display:grid;gap:7px;margin-top:auto;padding-top:12px;width:100%}.room-variant-actions button{width:100%;justify-content:center;font-size:12px;padding:10px 8px;border-radius:12px}.room-variant-actions button:disabled{opacity:.4;cursor:default}.room-preview svg .preview-room{fill:#e8e9e4;stroke:#93a5b5;stroke-width:.07}.room-preview svg .preview-furniture{fill:#a7b8bb;stroke:#798d90;stroke-width:.022}.room-preview svg .preview-table{fill:#dcc6a2;stroke:#b59d7d}.room-library-card{cursor:default}.night .room-furnishing-info{color:#b1bdcb}
