#clearance{display:none}body[data-home-page=clearance] #clearance{display:block}body[data-home-page=clearance] main>.hero,body[data-home-page=clearance] main>#references,body[data-home-page=clearance] main>#palette,body[data-home-page=clearance] main>#preferences,body[data-home-page=clearance] main>#rooms{display:none}
#workspace>.project-library{display:none}body[data-home-page=furniture] #project-furniture,body[data-home-page=existing] #project-existing{display:block}
.library-controls{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:24px 0}.library-controls label{display:grid;gap:8px;min-width:180px}.library-controls input,.library-controls select{max-width:100%;padding:11px;border:1px solid var(--line,#ccc);border-radius:8px;background:#fff}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.library-card{min-width:0;padding:24px;border:1px solid var(--line,#ddd);border-radius:14px;background:#fff}.library-card h2{font-size:22px;overflow-wrap:anywhere}.library-card p{white-space:pre-line;overflow-wrap:anywhere}.library-tag{font-size:13px;color:#75644f}.library-size{font-size:19px;color:#5c4938;font-weight:600}.library-card img{width:100%;height:auto;object-fit:contain}.library-field{margin:18px 0}.library-field strong{font-size:13px;color:#716557}.library-field p{margin:6px 0;line-height:1.7}.library-image{display:grid;place-items:center;width:100%;height:260px;padding:0;border:0;background:#f5f3ee;color:#716557;overflow:hidden;cursor:zoom-in}.library-image img{height:100%;max-height:260px;object-fit:contain}.library-placeholder{padding:35px 15px;background:#f5f3ee;text-align:center}.library-card a{text-decoration:underline;overflow-wrap:anywhere}#project-photo-dialog{max-width:95vw;width:1100px;border:0;border-radius:12px;background:#fbfaf7}#project-photo-dialog img{display:block;max-width:100%;max-height:78vh;margin:auto;object-fit:contain}#project-photo-dialog::backdrop{background:#000b}#project-photo-dialog button{display:block;margin:0 0 12px auto}header nav{flex-wrap:wrap}@media(max-width:700px){.library-grid{grid-template-columns:1fr}.library-card{padding:18px}.library-controls{align-items:stretch}.library-controls label{min-width:0;flex:1 1 100%}}
#project-furniture .library-view-switch{display:flex;gap:6px}.library-view-switch button[aria-pressed=true]{background:#35564b;color:white}.library-grid.table-mode{display:block}.library-table-scroll{overflow:auto;max-width:100%;border:1px solid #ddd;border-radius:10px}.library-table-scroll table{border-collapse:collapse;width:100%;min-width:1050px;background:white;font-size:14px}.library-table-scroll caption{text-align:left;padding:14px;background:#f5f3ee}.library-table-scroll th,.library-table-scroll td{text-align:left;vertical-align:top;padding:14px;border-bottom:1px solid #ddd;white-space:pre-line;overflow-wrap:anywhere}.library-table-scroll th{background:#eee9df}.library-table-scroll tr:nth-child(even){background:#faf9f5}.library-table-scroll td:nth-child(2){min-width:170px}.library-table-scroll td:nth-child(4){min-width:170px}.library-table-scroll td:nth-child(6){min-width:240px}.library-table-scroll .library-image{width:100px;height:90px;font-size:12px}.library-table-scroll img{width:100%;height:90px;object-fit:contain}.library-table-scroll p{margin:5px 0}.library-table-scroll a{text-decoration:underline}
.library-table-scroll th:nth-child(3),.library-table-scroll td:nth-child(3){min-width:100px}.library-table-scroll th:nth-child(6),.library-table-scroll td:nth-child(6){min-width:120px}.library-table-scroll th:nth-child(8),.library-table-scroll td:nth-child(8){min-width:90px}.library-table-scroll th:nth-child(7),.library-table-scroll td:nth-child(7){min-width:240px;width:310px;max-width:360px}
.library-table-scroll td:nth-child(5){min-width:210px;max-width:280px}.library-price{padding:12px;border-radius:8px;background:#f3f6f1;line-height:1.6}.library-price strong{color:#294d3f;font-size:17px}.library-price p{margin:4px 0}.library-price small{display:block;overflow-wrap:anywhere;white-space:pre-line}.library-price-date{margin-top:8px;color:#676b64}.library-price a{display:inline-block;margin-top:5px}
