.shared-library{max-width:1260px}.shared-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}.shared-library-toolbar form{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;min-width:0;flex:1}.shared-library-toolbar select{width:160px;flex:0 0 auto}.shared-library-toolbar form .btn{flex:none}.shared-library-toolbar input{width:280px;max-width:100%}.shared-table-scroll{overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.shared-table{width:100%;border-collapse:collapse;text-align:left;min-width:700px}.shared-table th,.shared-table td{padding:16px;border-bottom:1px solid #e8edf5;vertical-align:top}.shared-table th{background:#f5f8fd;font-size:13px}.shared-table td{font-size:14px}.shared-table td:first-child{max-width:480px}.shared-table small{display:block;line-height:1.7;color:#8190a3;font-size:12px;margin-top:7px;overflow-wrap:anywhere}.shared-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.shared-image-card{min-width:0;border:1px solid #e2e8f0;border-radius:12px;padding:14px;background:white}.shared-image-preview{display:block;width:100%;padding:0;border:0;background:#f5f7fb;cursor:pointer}.shared-image-preview img{display:block;width:100%;height:180px;object-fit:contain}.shared-image-card h2{font-size:15px;overflow-wrap:anywhere}.shared-image-card p{font-size:12px;color:#8090a5}.shared-dialog{width:min(760px,94vw);padding:24px!important}.shared-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.shared-dialog h2{font-size:20px;margin:0}.shared-dialog fieldset{padding:0;border:0;min-width:0}.shared-dialog label{display:block;margin:14px 0;color:#60748e;font-size:13px}.shared-dialog input:not([type=checkbox]),.shared-dialog textarea,.shared-dialog select{display:block;box-sizing:border-box;width:100%;margin-top:7px}.shared-dialog .shared-checkbox{display:flex;align-items:center;gap:9px}.shared-dialog .shared-checkbox input{margin:0}.shared-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.shared-form-error{color:#a66b43;font-size:13px;line-height:1.8}.shared-image-large{display:block;width:100%;max-height:300px;object-fit:contain;background:#f5f7fb}.ops-material-images{display:flex;gap:14px;flex-wrap:wrap}.ops-material-images article{width:160px}.ops-material-images img{width:160px;height:110px;object-fit:contain;background:#f5f7fb}.ops-preflight-matches li{margin-bottom:12px}
@media(max-width:760px){.sidebar[data-module=library]{width:100%;display:flex;gap:8px}.sidebar[data-module=library] .sidetitle{display:none}.body:has(>.sidebar[data-module=library]){flex-direction:column}.shared-library-toolbar{align-items:stretch;flex-direction:column}.shared-library-toolbar form{display:grid;grid-template-columns:1fr auto}.shared-library-toolbar select{width:100%}.shared-library-toolbar input{grid-column:1/-1;width:100%}.shared-form-grid{grid-template-columns:1fr}.shared-dialog{padding:18px!important}.shared-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shared-image-preview img{height:130px}}
.shared-library-toolbar{align-items:flex-start}.shared-library-toolbar form{flex-wrap:wrap}.shared-library-toolbar select{width:145px}.shared-categorized-tags{display:grid;gap:6px;margin:12px 0;font-size:12px;line-height:1.6}.shared-categorized-tags>div{display:flex;align-items:flex-start;gap:8px}.shared-categorized-tags b{flex:none;font-weight:500;background:#edf3fb;color:#4a6488;border-radius:5px;padding:1px 7px}.shared-categorized-tags span{color:#73849a;overflow-wrap:anywhere}.shared-classification{background:#f6f8fc;border:1px solid #e2e8f0;border-radius:12px;padding:16px;margin:20px 0}.shared-classification h3{font-size:14px;margin:0 0 12px}.shared-dialog .resource-tag-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.shared-dialog .resource-tag-check{display:flex;align-items:center;gap:9px}.shared-dialog .resource-tag-check input{margin:0}.shared-dialog .resource-tag-groups summary{cursor:pointer;color:#526b8c;padding:12px 0}.shared-drop-zone{padding:22px;border:1px dashed #a9bcd6;border-radius:10px;text-align:center;color:#7288a8;background:#f7faff}.shared-drop-zone.dragging{border-color:#4278ba;background:#ebf3ff}.shared-upload-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;border-top:1px solid #e2e8f0;margin:20px 0;padding:20px 0}.shared-upload-card>img{width:120px;height:110px;object-fit:contain;background:#f4f7fb;border-radius:8px}.shared-upload-card h3{font-size:14px;overflow-wrap:anywhere}.shared-upload-card.uploaded{opacity:.65}.shared-upload-defaults{margin-top:18px}
@media(max-width:760px){.shared-library-toolbar select{width:100%}.shared-library-toolbar form{grid-template-columns:1fr 1fr}.shared-library-toolbar form .btn{grid-column:1/-1}.shared-dialog .resource-tag-fields{grid-template-columns:1fr}.shared-upload-card{grid-template-columns:1fr}.shared-upload-card>img{width:100%;height:130px}.shared-categorized-tags>div{display:block}.shared-categorized-tags span{display:block;margin-top:4px}}
.shared-dialog .shared-file-input{display:none!important}.shared-upload-picker{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 18px;background:#f7faff;border:1.5px dashed #bacce3}.shared-picker-icon{width:38px;height:38px;padding:10px;border-radius:14px;background:#eaf1fc;color:#6a91c4;box-sizing:content-box}.shared-upload-picker strong{color:#405c7f;font-size:15px;font-weight:600}.shared-upload-picker>span{font-size:12px;color:#879ab2}.shared-upload-picker .shared-select-images{min-width:132px;padding:10px 22px;margin-top:4px;font-size:13px}.shared-upload-picker .shared-select-images:focus-visible{outline:3px solid #a8c9f2;outline-offset:3px}.shared-upload-picker>p{margin:2px 0 0;font-size:12px;line-height:1.7;color:#879ab2}.shared-upload-picker.dragging{background:#edf4ff;border-color:#658fca;box-shadow:inset 0 0 0 1px #658fca}
@media(max-width:760px){.shared-upload-picker{padding:24px 14px}.shared-upload-picker .shared-select-images{width:100%;max-width:230px;min-height:42px}.shared-upload-picker>span,.shared-upload-picker>p{text-align:center}}
.shared-resource-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.shared-resource-actions .btn{flex:none}.shared-resource-actions .shared-delete-button{color:#c47366;border-color:#eedbd7;background:#fff}.shared-resource-actions .shared-delete-button:hover{background:#fff4f1;border-color:#dfbcb5}.shared-table td:last-child{width:1%;white-space:nowrap}.shared-delete-popover{position:fixed;z-index:180;box-sizing:border-box;width:300px;max-width:calc(100vw - 24px);padding:16px;background:#fff;border:1px solid #e5eaf2;border-radius:12px;box-shadow:0 8px 32px #23385626;color:#5e6e82;text-align:left;line-height:1.7}.shared-delete-popover:before{content:'';position:absolute;left:var(--shared-arrow);width:10px;height:10px;background:#fff;transform:translateX(-50%) rotate(45deg)}.shared-delete-popover[data-side=bottom]:before{top:-6px;border-top:1px solid #e5eaf2;border-left:1px solid #e5eaf2}.shared-delete-popover[data-side=top]:before{bottom:-6px;border-right:1px solid #e5eaf2;border-bottom:1px solid #e5eaf2}.shared-delete-heading{display:flex;align-items:flex-start;gap:8px}.shared-delete-heading>span{display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px;border-radius:50%;background:#fff2e9;color:#c98167;font-size:12px;font-weight:600;margin-top:2px}.shared-delete-heading strong{font-size:13px;font-weight:600;color:#425671}.shared-delete-popover p{font-size:11px;line-height:1.8;margin:8px 0 15px 26px;overflow-wrap:anywhere}.shared-delete-popover p b,.shared-delete-popover p span{display:block}.shared-delete-popover p b{font-weight:500;color:#60748e;margin-bottom:4px}.shared-delete-actions{display:flex;justify-content:flex-end;gap:8px}.shared-delete-actions .btn{padding:6px 12px;font-size:11px}.shared-delete-actions .danger{background:#df776c;border-color:#df776c;color:#fff}.shared-delete-actions .danger:hover{background:#cf695e;color:#fff;border-color:#cf695e}.shared-delete-popover .shared-delete-error{color:#c47366}.shared-delete-error[hidden]{display:none}
@media(max-width:760px){.shared-image-card .shared-resource-actions{gap:6px}.shared-image-card .shared-resource-actions .btn{font-size:11px;padding:6px 8px}}
