.web-drop-launch{display:grid;justify-items:center;gap:8px;margin:24px 0 8px}.web-drop-launch .btn{border-radius:12px;padding:14px 24px;font-size:16px}.web-drop-launch p{margin:0;font-size:14px;color:var(--muted)}
#webDropDialog{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #6de9ff50;border-radius:20px;background:var(--bg);color:var(--text);box-shadow:0 24px 100px #0008;overflow:hidden}
#webDropDialog[open]{display:flex;flex-direction:column;gap:16px}#webDropDialog::backdrop{background:#030615c9;backdrop-filter:blur(6px)}
#webDropDialog [hidden]{display:none!important}.web-drop-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.web-drop-heading h2{margin:0;font-size:24px;letter-spacing:-.7px}.web-drop-heading .badge{font-size:12px;white-space:nowrap}
.web-drop-body{min-height:0;overflow:auto;display:grid;gap:16px;scrollbar-width:thin}.web-drop-intro{margin:0;color:var(--muted);font-size:16px;line-height:1.6}.web-drop-identity{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:14px}.web-drop-identity strong{color:var(--cyan);font-size:18px;overflow-wrap:anywhere}.web-drop-identity>span{min-width:0}.web-drop-identity button{font-size:14px;white-space:nowrap;border:0;background:none;color:var(--cyan);padding:8px 0;min-height:44px}
.web-drop-section{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel);min-width:0}.web-drop-section h3{font-size:16px;margin:0 0 12px}.web-drop-section p{font-size:14px;margin:0;line-height:1.6;color:var(--muted)}
#webDropDiscovery{display:flex;align-items:center;gap:10px;min-height:24px}.web-drop-searching:before{content:'';display:inline-block;flex:none;width:14px;height:14px;border:2px solid #6de9ff30;border-top-color:var(--cyan);border-radius:50%;animation:web-drop-spin .8s linear infinite}@keyframes web-drop-spin{to{transform:rotate(360deg)}}
#webDropPeers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#webDropPeers:not(:empty){margin-top:14px}.web-drop-peer{min-width:0;min-height:72px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;border:1px solid #6de9ff70;border-radius:12px;padding:12px 14px;color:var(--cyan);background:var(--bg);text-align:left}.web-drop-peer strong{font-size:16px;overflow-wrap:anywhere}.web-drop-peer span{font-size:14px;color:var(--muted)}.web-drop-peer:disabled{opacity:.5;cursor:default}
#webDropIncoming{border-color:#ab92ff70}#webDropIncoming .actions{margin-top:14px}#webDropDialog .btn{border-radius:10px;font-size:14px;min-height:44px}#webDropTransferLabel{color:var(--text);overflow-wrap:anywhere}#webDropProgress{display:block;width:100%;height:8px;margin:14px 0 8px;accent-color:var(--cyan)}#webDropCancel{margin-top:12px}
#webDropMessage{margin:0;color:var(--cyan);font-size:14px;line-height:1.6;overflow-wrap:anywhere}#webDropMessage:empty{display:none}.web-drop-download{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.web-drop-download:last-child{border-bottom:0;padding-bottom:0}.web-drop-download span{min-width:0;overflow-wrap:anywhere;font-size:14px}.web-drop-download a{flex:none}
#webDropInvite{width:100%;box-sizing:border-box;border:1px solid var(--line);padding:12px;border-radius:10px;background:var(--panel);color:var(--text);font:inherit;font-size:14px}.web-drop-footnote{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.web-drop-footer{display:flex;flex:none;gap:12px;padding-top:16px;border-top:1px solid var(--line)}.web-drop-footer .btn{flex:1}
@media(max-width:480px){#webDropDialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:18px;border-radius:16px}.web-drop-heading h2{font-size:21px}.web-drop-heading .badge{display:none}.web-drop-identity{padding:12px}.web-drop-identity strong{font-size:16px}#webDropPeers{grid-template-columns:1fr}.web-drop-section{padding:14px}}
@media(prefers-reduced-motion:reduce){.web-drop-searching:before{animation:none}}

.web-drop-download-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.web-drop-download-heading h3{margin:0}.web-drop-download-heading .quiet{padding:0;min-height:32px;font-size:14px;color:var(--cyan)}

.web-drop-auto-download{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);line-height:1.5}.web-drop-auto-download input{width:18px;height:18px;flex:none;accent-color:var(--cyan)}.web-drop-trusted-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:var(--cyan)}.web-drop-trusted-row span{min-width:0;overflow-wrap:anywhere}.web-drop-trusted-row .quiet{padding:6px;min-height:36px;color:var(--muted)}

#webDropIncoming .web-drop-approval-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#webDropIncoming .web-drop-approval-actions .btn{padding:10px 8px}

.web-drop-peer.web-drop-drag-over{border-color:var(--cyan);background:#6de9ff20;box-shadow:inset 0 0 0 2px var(--cyan)}
