/* Bibliothèque Drive : même composition que la maquette de référence. */
.drive-app .breadcrumbs{max-width:none;margin-bottom:14px}.drive-app .breadcrumbs button:first-child{font:400 27px/1.25 Nakria,Inter,sans-serif;color:var(--ink);padding-left:0}.drive-app .filter-chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 24px}.filter-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border:1px solid var(--line);border-radius:22px;background:var(--card);font-size:13px;line-height:1.25;color:var(--ink)}.filter-chip.active{background:var(--ink);border-color:var(--ink);color:var(--bg)}.category-dot{width:8px;height:8px;border-radius:50%;background:#b6a5f4}.filter-chip[data-category=documents] .category-dot{background:#7fb2ff}.filter-chip[data-category=spreadsheets] .category-dot{background:#57bca7}.filter-chip[data-category=presentations] .category-dot{background:#ffa17a}.filter-chip[data-category=images] .category-dot{background:#b6a5f4}.filter-chip[data-category=other] .category-dot{background:#d3bc91}.drive-app .folder-section{margin-bottom:26px}.section-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}.section-head h2,.drive-app .files-heading{font:600 14px/1.4 Inter,sans-serif;margin:0}.section-head .btn{margin-left:auto}.drive-app .folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));max-width:none;margin:0;gap:12px}.drive-app .folder-card{border:0;border-radius:19px;padding:14px 14px 13px;min-height:76px;box-shadow:none;gap:6px}.drive-app .folder-card .folder-open{min-width:0}.drive-app .folder-label{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;width:100%;font-family:Inter,sans-serif}.drive-app .folder-label .folder-name{font:600 14px/1.35 Inter,sans-serif;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}.drive-app .folder-count{font:400 12px/1.4 Inter,sans-serif;color:#4f4962}.drive-app .folder-tone-0{background:#bedcfc}.drive-app .folder-tone-1{background:#bae6df}.drive-app .folder-tone-2{background:#fff0aa}.drive-app .folder-tone-3{background:#ddd0fc}.drive-app .folder-tone-4{background:#ffd7c4}.drive-app .folder-card .file-menu summary{border:0;background:#ffffff66;font-size:11px;padding:5px 8px;min-height:28px}.drive-app .folder-create{display:flex;align-items:center;gap:12px;padding:17px;border:1px dashed #cbb9e6;border-radius:19px;background:transparent;color:var(--soft);text-align:left;min-height:76px}.drive-app .folder-create svg{flex:none;color:var(--acc)}.drive-app .library-head{max-width:none;border:0;padding:9px 0 12px}.drive-app .files-heading{margin-bottom:0}.drive-app .library-head label{font-size:12px}.drive-app .cards.file-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:16px;align-items:start}.drive-app .file-gallery .doc-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;background:var(--card);border:1px solid var(--line);border-radius:20px;min-width:0}.drive-app .file-gallery .doc-card:hover{border-color:#bca7ff}.drive-app .file-gallery .doc-card.is-selected{border-color:var(--acc);box-shadow:0 0 0 1px var(--acc)}.file-preview{position:relative;display:flex;align-items:center;justify-content:center;height:144px;width:100%;padding:0;border:0;border-radius:19px 19px 0 0;overflow:hidden;background:#7fb2ff}.file-preview.preview-documents{background:#7fb2ff}.file-preview.preview-spreadsheets{background:#57bca7}.file-preview.preview-presentations{background:#ffa17a}.file-preview.preview-images{background:#ddd0fc}.file-preview.preview-other{background:#c4b2e8}.drive-app .file-thumbnail{display:block;width:100%;height:100%;object-fit:cover}.preview-sheet{display:flex;flex-direction:column;gap:8px;position:absolute;left:15px;right:15px;top:43px;opacity:.7}.preview-sheet>i{display:block;border-radius:6px;height:7px;width:70%;background:#ffffffbb}.preview-sheet>i:nth-child(2){width:91%}.preview-sheet>i:nth-child(3){width:55%}.preview-cells{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.preview-cells i{height:15px;background:#ffffffa6;border-radius:3px}.preview-sheet.preview-slide{left:25px;right:25px;top:45px;border:2px solid #ffffffa6;border-radius:5px;padding:13px 12px;height:75px}.preview-sheet.preview-slide>i:first-child{height:10px;width:80%}.preview-sheet.preview-slide>i:nth-child(2){height:5px;width:55%}.drive-app .file-gallery .doc-open{display:flex;flex-direction:column;align-items:flex-start;gap:5px;flex:none;width:100%;padding:13px 14px 15px;text-align:left;min-height:80px;border-radius:0 0 19px 19px}.drive-app .file-gallery .doc-title{font:600 14px/1.4 Inter,sans-serif;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;overflow-wrap:anywhere;max-height:40px}.drive-app .file-gallery .doc-meta{font-size:11px;line-height:1.4;color:var(--soft);min-height:15px}.drive-app .tile-tools{position:absolute;left:8px;right:8px;top:8px;display:flex;align-items:center;justify-content:space-between;gap:5px;z-index:2;pointer-events:none}.drive-app .tile-tools>*{pointer-events:auto}.drive-app .tile-tools .doc-actions{display:flex;align-items:center;gap:4px;margin:0}.drive-app .tile-tools .file-select{margin:0;background:white}.drive-app .tile-tools .favorite{display:flex;align-items:center;justify-content:center;padding:4px;background:#ffffffe8;border-radius:50%;width:28px;height:28px;font-size:20px;line-height:1}.drive-app .tile-tools .file-menu summary{background:#fffffff0;border:0;padding:5px 9px;font-size:11px;min-height:28px}.drive-app .tile-tools .file-actions{z-index:30}.drive-app .doc-card:has(.file-menu[open]){z-index:12}.drive-app .pager{max-width:none}.drive-app #list-controls{flex-wrap:nowrap}.drive-app #list-controls .nk-select{max-width:210px}
@media(min-width:1600px){.drive-app .cards.file-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1150px){.drive-app .cards.file-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.file-preview{height:132px}}
@media(max-width:800px){.drive-app .cards.file-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.drive-app #list-controls{display:flex;flex-direction:row;gap:8px}.drive-app #search{width:100%;min-width:0}.drive-app #sort+.nk-select{width:180px;flex:none;max-width:45%}.drive-app .folder-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.drive-app .folder-card{padding:12px;min-height:73px}.drive-app .folder-card .file-menu summary{padding:5px 6px}.drive-app .breadcrumbs button:first-child{font-size:25px}.drive-app .filter-chips{gap:7px;margin-bottom:20px}.filter-chip{padding:7px 11px;font-size:12px}}
@media(max-width:600px){.drive-app .cards.file-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.drive-app .folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.drive-app .folder-label .folder-name{font-size:13px}.drive-app .folder-count{font-size:11px}.file-preview{height:120px}.drive-app .file-gallery .doc-open{padding:11px 11px 13px;min-height:88px}.drive-app .file-gallery .doc-title{font-size:13px}.drive-app .tile-tools{left:7px;right:7px;top:7px;gap:3px}.drive-app .tile-tools .doc-actions{gap:3px}.drive-app .tile-tools .file-menu summary{font-size:10px;padding:5px 6px}.drive-app .tile-tools .favorite{width:25px;height:25px;font-size:18px}.drive-app .section-head .btn{font-size:12px;padding:8px 12px}.preview-sheet{left:12px;right:12px;top:45px;gap:7px}.preview-sheet>i{height:6px}.drive-app .folder-card{align-items:flex-start;flex-wrap:wrap;gap:5px}.drive-app .folder-card .folder-open{flex-basis:100%}.drive-app .folder-card .file-menu{margin-left:auto}.drive-app .folder-create{font-size:12px;padding:13px;min-height:100px}.drive-app .folder-card{min-height:100px}.drive-app .file-actions{min-width:185px}}
@media(max-width:360px){.file-preview{height:108px}.drive-app .tile-tools .favorite{width:23px;height:23px}.drive-app .tile-tools .file-menu summary{padding:5px;font-size:10px}.drive-app .tile-tools .file-select{width:15px;height:15px}.drive-app .file-gallery .doc-title{font-size:12px}}
.drive-app .folder-card{position:relative;min-height:66px;align-items:center;flex-wrap:nowrap;padding:12px 14px}.drive-app .folder-card .folder-open{flex-basis:auto}.drive-app .folder-label{padding-right:22px}.drive-app .folder-card>.file-menu{position:absolute;right:7px;top:7px;margin:0}.drive-app .folder-card .file-menu summary{width:25px;height:25px;min-height:25px;padding:2px;font:600 18px/1 Inter,sans-serif;display:flex;align-items:center;justify-content:center}.drive-app .tile-tools .file-menu summary{width:28px;height:28px;min-height:28px;padding:2px;font:600 20px/1 Inter,sans-serif;display:flex;align-items:center;justify-content:center}.drive-app .folder-create{min-height:66px;font-size:13px}.drive-app .folder-create span{line-height:1.4}.drive-app .tile-tools{opacity:0;transition:opacity .12s ease}.drive-app .doc-card:hover .tile-tools,.drive-app .doc-card:focus-within .tile-tools,.drive-app .doc-card.is-selected .tile-tools{opacity:1}.preview-sheet{top:18px}.preview-sheet.preview-slide{top:29px}.drive-app .file-actions{z-index:130}
@media(hover:none){.drive-app .tile-tools{opacity:1}.preview-sheet{top:42px}}
@media(max-width:600px){.drive-app .folder-card{min-height:66px;padding:12px}.drive-app .folder-create{min-height:66px}.drive-app .tile-tools .file-menu summary{width:25px;height:25px;min-height:25px;padding:2px;font-size:18px}}
@media(prefers-reduced-motion:reduce){.drive-app .tile-tools{transition:none}}
