.design-folder-controls{display:flex;gap:10px;align-items:center;margin:18px 0;flex-wrap:wrap}
.design-folder-controls[hidden]{display:none}.design-folder-controls input[type=search]{flex:1;min-width:180px;padding:11px 13px;border:1px solid #cfd7de;border-radius:8px;font:inherit;background:white}
.folder-mobile-filter{display:none}.design-library{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}
.folder-sidebar{background:white;border:1px solid #d7dfe5;border-radius:12px;padding:12px;min-width:0;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}.folder-sidebar h2{font-size:14px;margin:4px 8px 12px;color:#596b7b}
.folder-sidebar ul{list-style:none;padding:0;margin:0}.folder-sidebar ul ul{padding-left:12px}.folder-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 8px;border:0;background:transparent;border-radius:7px;text-align:left;font:inherit;cursor:pointer;color:#334354}
.folder-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-link small{color:#687a89}.folder-link:hover{background:#f0f4f7}.folder-link.active{background:#e5edf5;color:#123c60;font-weight:600}
.folder-contents{min-width:0}.folder-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 14px}.folder-breadcrumb{display:flex;gap:5px;flex-wrap:wrap;align-items:center;overflow-wrap:anywhere}.folder-breadcrumb button{background:none;border:0;padding:6px 0;color:#245780;cursor:pointer;font:inherit}.folder-actions{display:flex;gap:6px;flex-wrap:wrap}
.subfolder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;margin-bottom:18px}.folder-tile{background:white;border:1px solid #d3dce4;padding:15px;border-radius:9px;text-align:left;font:inherit;cursor:pointer;min-width:0}.folder-tile span{display:block;font-weight:600;margin-bottom:6px;overflow-wrap:anywhere}.folder-tile small{color:#637586}.folder-tile:hover{border-color:#7899b4;background:#f8fbfd}
.folder-selection{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:0 0 14px;flex-wrap:wrap}.folder-selection label,.design-select{display:flex;gap:8px;align-items:center;font-size:13px;cursor:pointer}.folder-selection input,.design-select input{width:18px;height:18px;accent-color:#26567c}
.design-select{padding:10px 14px;background:#f8fafb;border-bottom:1px solid #e5eaee}.design-folder-path{display:block;color:#60788b;font-size:12px;margin:5px 0;overflow-wrap:anywhere}.folder-contents .card .body b{overflow-wrap:anywhere}.folder-contents .dashboard-grid{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}
.folder-move-status{font-size:13px;color:#596b7b;line-height:1.5;margin:0 0 16px;min-height:20px}.design-drag-handle{cursor:grab;display:flex;flex-direction:column;flex:1}.design-drag-handle:active{cursor:grabbing}.design-drag-handle img{user-select:none}.folder-contents .card.design-selected{border-color:#26567c;box-shadow:0 0 0 2px #26567c}.design-selected .design-select{background:#e5edf5;color:#123c60}.design-dragging{opacity:.55}.folder-link.folder-drop-target,.folder-tile.folder-drop-target,.folder-breadcrumb .folder-drop-target{background:#dcebf3;color:#123c60;outline:2px dashed #26567c;outline-offset:2px}.design-drag-preview{position:fixed;top:0;left:-10000px;max-width:280px;padding:12px 18px;border-radius:9px;background:#123c60;color:white;box-shadow:0 6px 20px #0003;font:600 15px system-ui;pointer-events:none}
@media(pointer:coarse){.folder-drag-hint{display:none}.design-drag-handle{cursor:default}}
@media(max-width:760px){.design-library{display:block}.folder-sidebar{display:none}.folder-mobile-filter{display:flex;flex-direction:column;gap:4px;font-size:12px;flex:1 1 100%;min-width:0}.folder-mobile-filter select{width:100%;font:inherit;font-size:16px;min-height:44px;padding:8px;border:1px solid #cfd7de;border-radius:8px;background:white}.design-folder-controls input[type=search]{font-size:16px;min-width:0;flex:1 1 100%}.folder-heading{align-items:start}.folder-breadcrumb button{min-height:36px}.folder-actions .btn,.folder-selection .btn{min-height:44px}.subfolder-grid{grid-template-columns:1fr}.folder-tile{min-height:65px}.design-select{min-height:44px}.folder-selection label{min-height:44px}.design-folder-controls .btn{width:100%;min-height:44px}}
