.shared-files{margin:32px 0;padding:18px;border:2px solid #168bb7;border-radius:12px;background:linear-gradient(120deg,#e4f6ff,#d6edf9);color:#073d67}.shared-files header{display:flex;justify-content:space-between;align-items:center;gap:12px}.shared-files h2{font-size:20px}.shared-file-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}.shared-file-list article{border:1px solid #a7cbdf;border-radius:9px;background:#f8fcff;padding:10px;min-width:0}.shared-file-list img,.file-placeholder{width:100%;height:120px;object-fit:cover;border-radius:6px}.file-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#0869ae,#26a4c9);color:white;font-size:32px;font-weight:700}.shared-file-list h3{font-size:16px;margin:8px 0;overflow-wrap:anywhere}.shared-file-list p{font-size:13px;overflow-wrap:anywhere}.file-download,.add-file{display:block;padding:10px;border:1px solid #87c0dc;border-radius:6px;background:#e2f4ff;color:#075b94;font-weight:700;text-align:center;text-decoration:none}.shared-file-dialog{width:min(440px,90vw);border:1px solid #98c4dd;border-radius:12px;background:#edf8ff;color:#083e69}.shared-file-dialog::backdrop{background:#03233b99}.shared-file-dialog label{display:block;margin:12px 0}.shared-file-dialog input,.shared-file-dialog textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:8px}.shared-file-dialog button{padding:10px}.shared-file-dialog [role=status]{color:#a02323}
.shared-file-empty{min-height:240px;border:1px dashed #98bfd7;border-radius:9px;background:#f1faff;color:#659bb8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;cursor:pointer}.shared-file-empty span{font-size:38px}.shared-download-all{width:100%;margin-top:15px;padding:12px;border:1px solid #23b4dc;border-radius:6px;background:linear-gradient(90deg,#0062a4,#008aa4);color:white;font-weight:700;cursor:pointer}.shared-download-all:disabled{opacity:.6}
#team-shared-files .shared-download-all{background:linear-gradient(90deg,#0062a4,#008aa4);color:#fff;border:1px solid #23b4dc}#team-shared-files .shared-file-empty{min-height:240px}@media(min-width:800px){#team-shared-files .shared-file-list{grid-template-columns:repeat(5,minmax(0,1fr))}}
.workbook-preview{display:block;width:100%;padding:8px;color:#07649d;background:#e0f4ff;border:1px solid #acd0e4;border-radius:5px}.workbook-dialog{width:94vw;max-width:1400px;height:85vh;border:2px solid #1284bc;border-radius:12px;background:#e9f7ff;color:#123e5a}.workbook-dialog::backdrop{background:#032a4799}.workbook-dialog header,.workbook-dialog footer{display:flex;gap:12px;align-items:center;justify-content:space-between}.workbook-dialog h2{font-size:20px}.workbook-dialog nav{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.workbook-dialog button{padding:8px;border:1px solid #9cc6df;border-radius:5px;background:#d9effd;color:#07598b}.workbook-dialog input{padding:10px;width:100%;box-sizing:border-box}.workbook-table{overflow:auto;max-height:58vh;margin:12px 0}.workbook-table table{border-collapse:collapse;background:white;font-size:13px}.workbook-table th{position:sticky;top:0;background:#0865a1;color:white}.workbook-table td,.workbook-table th{padding:9px;border:1px solid #c4ddea;min-width:100px;max-width:340px;overflow-wrap:anywhere;text-align:left}.workbook-table tr:nth-child(odd){background:#edf7fc}
.workbook-cover{height:120px;box-sizing:border-box;overflow:hidden;background:linear-gradient(130deg,#05447a,#159bc3);color:white;border-radius:6px;padding:9px;cursor:pointer;display:flex;flex-direction:column;gap:4px}.workbook-cover>strong{font-size:13px}.workbook-cover>span{font-size:10px}.workbook-cover-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin-top:4px}.workbook-cover-grid span{font-size:6px;background:#e6f6ff;color:#165273;padding:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#team-shared-files .shared-file-list{grid-template-columns:repeat(5,minmax(0,1fr));box-sizing:border-box;min-width:0}
