/* Personal resource import, review status, and shared library surfaces. */
.resource-small{font-size:13px;line-height:1.75}
.resource-library-tabs{margin-bottom:20px;gap:24px}
.resource-library-tabs small{margin-left:7px;font-size:11px;opacity:.65}
.resource-item-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}
.resource-item-actions .button{font-size:13px;padding:8px 13px;border-radius:999px;min-height:38px}
.resource-item-footer{flex-wrap:wrap;gap:9px}
.resource-submission-status{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}
.resource-submission-status:empty,.resource-file-preview:empty{display:none}
.resource-review-note{width:100%;color:var(--danger);font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.resource-body-preview{white-space:pre-wrap;overflow-wrap:anywhere}
.resource-full-text{font:inherit;font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-height:55vh;overflow:auto;overscroll-behavior:contain}
.resource-editor{font-size:14px;line-height:1.85;min-height:190px;resize:vertical}
.resource-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:148px;padding:22px 18px;border:1px dashed color-mix(in srgb,var(--accent) 25%,var(--line));border-radius:14px;background:var(--surface);cursor:pointer;text-align:center}
.resource-dropzone>span:last-of-type{font-size:13px;line-height:1.7;color:var(--muted)}
.resource-dropzone strong{font-size:15px;font-weight:600}
.resource-upload-icon{color:var(--accent);margin-bottom:4px;padding:9px;border-radius:10px;background:var(--soft);box-sizing:content-box}
.resource-dropzone:hover,.resource-dropzone.dragging{border-color:var(--accent);background:var(--soft)}
.resource-dropzone:focus-visible,.resource-dropzone:focus-within{outline:2px solid var(--accent);outline-offset:3px}
.resource-dropzone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.resource-file-preview.error{color:var(--danger);font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.resource-upload-preview{border:1px solid var(--line);border-radius:12px;margin-bottom:8px;padding:14px 16px;background:var(--surface);overflow:hidden}
.resource-upload-preview summary{cursor:pointer;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.resource-upload-preview summary small{color:var(--success);font-size:12px;margin-left:7px}
.resource-upload-preview pre{max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.75;color:var(--muted);margin:13px 0 0}
.resource-manual{border-top:1px solid var(--line);padding-top:12px}
.resource-manual summary{color:var(--accent);font-size:13px;cursor:pointer;min-height:32px}
.resource-manual>.stack{padding-top:15px}
.resource-share-summary h3{margin:12px 0 8px}
.resource-share-summary p{font-size:13px;line-height:1.75;color:var(--muted);margin-bottom:0}
.resource-share-summary b{color:var(--accent)}
@media(max-width:650px){.resource-library-tabs{gap:14px}.resource-library-tabs button{font-size:13px}.resource-library-tabs small{margin-left:4px}.resource-item-footer{align-items:flex-start}.resource-item-footer>.grow{flex-basis:100%}.resource-item-actions .button,.resource-manual summary,.resource-upload-preview summary{min-height:44px}.resource-editor{font-size:16px}.resource-dropzone{min-height:136px;padding:18px 12px}.resource-upload-preview summary small{display:block;margin-left:16px}.resource-full-text{max-height:48vh}}
