.attachment-panel{box-sizing:border-box;min-width:0;max-width:100%;padding:16px;margin:16px 0;border:1px solid #d3e1ed;border-radius:10px;background:#fff;color:#102744}.attachment-panel h2,.attachment-panel legend{font-size:18px;font-weight:650;line-height:1.35;margin:0 0 10px}.attachment-panel .n-note{font-size:13px;line-height:1.55;color:#52677b;margin:8px 0}.attachment-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.attachment-list>li{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0;border-bottom:1px solid #e5edf3;min-width:0}.attachment-list>li:last-child{border-bottom:0}.attachment-file{display:grid;gap:4px;flex:1 1 180px;min-width:0}.attachment-name{overflow-wrap:anywhere;font-weight:600;line-height:1.4}.attachment-file small{font-size:12px;color:#52677b;line-height:1.45}.attachment-panel :is(a.button,button){box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:9px 16px;font-size:14px;line-height:1.4;white-space:normal;text-align:center;border-radius:8px}.attachment-upload{display:grid;gap:12px}.attachment-panel input[type=file]{box-sizing:border-box;max-width:100%;width:100%;font-size:14px;padding:8px 0}.attachment-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.attachment-gallery figure{margin:0;min-width:0}.attachment-gallery img{display:block;width:100%;max-width:100%;height:auto;max-height:360px;object-fit:contain;border-radius:8px;background:#f5f8fb}.attachment-panel[aria-busy=true]{border-color:#8fa9c0}.attachment-panel [data-attachment-status][data-error=true]{color:#9b241d}.attachment-panel details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.attachment-panel .field{min-width:0;margin:0}.attachment-panel .n-check{display:flex;align-items:flex-start;gap:10px}.attachment-panel .n-check input{flex:0 0 auto;margin-top:4px}
