.library-actions{flex-wrap:wrap}.import-menu{position:relative}.import-menu summary{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;min-height:44px;list-style:none;background:#e4f5f0;border:1px solid #80bfb3;border-radius:9px;color:#1a6964;font-size:13px;font-weight:650;cursor:pointer;touch-action:manipulation}.import-menu summary::-webkit-details-marker{display:none}.import-menu summary svg{display:block;pointer-events:none}.import-menu[open] summary{background:#d3eee5}.import-options{position:absolute;top:calc(100% + 8px);right:0;width:235px;z-index:14;background:#fff;border:1px solid #c9dfd5;border-radius:10px;padding:7px;box-shadow:0 8px 24px #285f4420}.import-options button{display:block;text-align:left;width:100%;padding:13px 10px;border-radius:6px;font-size:13px;color:#295e4c}.import-options button:hover{background:#edf7f2}
.editor-import{display:grid;place-items:center;min-width:40px;min-height:40px;padding:8px;background:#e4f5f0;border:1px solid #80bfb3;border-radius:7px;color:#1a6964}.editor-import svg{pointer-events:none}
.note-attachment{margin:0 0 25px;padding:15px;border:1px solid #d0e2ed;background:#faf7ff;border-radius:9px}.attachment-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.attachment-header strong{font-size:13px;overflow-wrap:anywhere;color:#304d5f}.attachment-download,.attachment-open{font-size:12px;color:#155c8d;text-decoration:none;font-weight:600;border:1px solid #c0d9e9;border-radius:6px;background:#e6f5ff;padding:9px 12px;display:inline-flex;align-items:center;min-height:38px;white-space:nowrap}.attachment-open{white-space:normal}.note-attachment>p{font-size:12px;color:#56656e;line-height:1.7}.imported-photo{display:block;width:auto;max-width:100%;max-height:400px;margin:0 auto;border-radius:5px}.attachment-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;font-size:13px;line-height:1.7;color:#32434e;font-family:monospace}
@media(max-width:720px){.library-actions{gap:8px}.library-actions .import-menu{flex:1;min-width:120px}.import-menu summary{font-size:12px;padding:11px 12px}.import-options{right:auto;left:0;width:225px}.note-attachment{padding:11px}.attachment-header{flex-wrap:wrap;gap:8px}.editor-heading-actions{gap:5px}.imported-photo{max-height:300px}}
@media print{.editor-import,.attachment-download,.import-menu{display:none!important}.note-attachment{break-inside:avoid;background:#fff}}
