.material-section{margin-top:28px;padding-top:24px;border-top:1px solid #dce3eb}.material-card{margin:18px 0;padding:20px;background:#f6f9fc;border:1px solid #dce3eb;border-radius:18px}.material-card li{margin:8px 0}.material-note{white-space:pre-wrap;overflow-wrap:anywhere}.material-line{margin-bottom:12px;align-items:end}.material-card h3{overflow-wrap:anywhere}.material-card form{border-top:1px solid #dce3eb;padding-top:16px}
.material-open{width:100%;font-size:19px;min-height:60px}.material-defaults{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.material-history{margin:16px 0}.material-card li{white-space:pre-wrap;overflow-wrap:anywhere}#material-compose[hidden],#material-options[hidden],.material-open[hidden]{display:none}

[data-shelf-field][hidden]{display:none}.material-location{padding:12px 16px;border-radius:12px;background:#e4f6eb;color:#17613b}

.material-photo-tools{margin:16px 0}.material-photo-tools [hidden]{display:none!important}.material-photo-tools img,.material-photo-link img{display:block;max-width:100%;width:220px;max-height:200px;object-fit:contain;border-radius:12px;margin:10px 0}.material-photo-link{display:inline-block;margin:10px 0}.material-photo-link span{display:block}

#material-photo-viewer{box-sizing:border-box;width:fit-content;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:12px;border:0;border-radius:18px;background:#fff;color:#182331;box-shadow:0 20px 80px #0005;overflow:auto}
#material-photo-viewer::backdrop{background:rgba(12,20,30,.78)}
#material-photo-viewer .material-photo-viewer-toolbar{display:flex;justify-content:flex-end;margin-bottom:10px;position:sticky;top:0}
#material-photo-viewer img{display:block;max-width:calc(100vw - 56px);max-height:calc(100dvh - 120px);width:auto;height:auto;object-fit:contain;border-radius:8px}
#material-photo-viewer p[hidden]{display:none}
.material-photo-link:focus-visible{outline:3px solid #007aff;outline-offset:4px;border-radius:12px}
