/* Standalone utility result sharing (Plus only, server-side verified). */
.ut-share-controls[hidden],.ut-share-button[hidden],.ut-share-dialog[hidden]{display:none!important}
.ut-share-controls{margin:15px 0 0;border-top:1px solid #ece6f3;padding:15px 0 5px;
 display:flex;flex-wrap:wrap;align-items:center;gap:10px 15px}
.ut-share-button{border:1px solid #d8c8ec;border-radius:9px;background:#f8f5ff;
 color:#674eb8;padding:10px 15px;font:800 12px/1.3 system-ui;cursor:pointer}
.ut-share-button:hover{background:#efe7ff}
.ut-share-hint{font-size:10px;line-height:1.6;color:#9990a7;max-width:500px}
.ut-share-dialog{border:1px solid #e0d8eb;background:#fff;color:#2f2843;
 border-radius:16px;width:min(480px,calc(100vw - 24px));max-height:90dvh;
 padding:23px;box-shadow:0 18px 56px #291f463b}
.ut-share-dialog::backdrop{background:#17112d98}
.ut-share-header{display:flex;justify-content:space-between;align-items:center;gap:15px}
.ut-share-header h2{font-size:19px;margin:0;color:#2f2843;letter-spacing:-.03em}
.ut-share-close{height:32px;width:32px;border:1px solid #ebe4f1;border-radius:8px;
 background:#fff;color:#716583;cursor:pointer;font-size:20px}
.ut-share-name{font-size:12px;color:#887d97;margin:13px 0}
.ut-share-label{display:block;font-size:11px;font-weight:730;color:#685a7a;margin:13px 0}
.ut-share-password{display:block;margin-top:7px;width:100%;border:1px solid #dfd7e9;
 border-radius:9px;padding:11px;font:12px system-ui;box-sizing:border-box}
.ut-share-submit{border:0;border-radius:9px;background:#7056d6;color:#fff;
 padding:11px 17px;font:780 12px system-ui;cursor:pointer}
.ut-share-submit:hover:not(:disabled){background:#5b42bc}
.ut-share-submit:disabled{opacity:.5;cursor:wait}
.ut-share-result{display:flex;gap:8px;align-items:center;margin-top:13px}
.ut-share-result[hidden]{display:none!important}
.ut-share-url{min-width:0;flex:1;border:1px solid #ddd5e9;border-radius:8px;
 padding:9px;background:#fbfaff;font:11px system-ui;color:#423756}
.ut-share-copy{border:1px solid #ddd4ec;background:#fff;color:#6350ae;
 border-radius:8px;padding:9px 11px;font:760 11px system-ui;cursor:pointer}
.ut-share-status{font-size:11px;color:#7060ad;min-height:12px;line-height:1.6;margin:12px 0 0}
@media(max-width:600px){.ut-share-dialog{padding:16px}.ut-share-controls{flex-direction:column;
 align-items:flex-start}.ut-share-result{flex-wrap:wrap}.ut-share-copy{width:100%}}


/* Finished-result actions: sharing and downloading at the same level. */
.ut-actions>.ut-share-controls,
.tf-actions>.ut-share-controls,
.sp-actions>.ut-share-controls{
 display:flex;align-items:center;gap:8px;
 margin:0;padding:0;border:0;
 background:transparent;min-width:0;
}
.ut-actions>.ut-share-controls .ut-share-hint,
.tf-actions>.ut-share-controls .ut-share-hint,
.sp-actions>.ut-share-controls .ut-share-hint{display:none}
.ut-actions>.ut-share-controls .ut-share-button,
.tf-actions>.ut-share-controls .ut-share-button,
.sp-actions>.ut-share-controls .ut-share-button{
 min-height:42px;margin:0;padding:10px 16px;
 border-radius:10px;font-size:12px;
 white-space:nowrap;
}
.ut-share-controls[hidden]{display:none!important}
@media(max-width:600px){
 .tf-actions>.ut-share-controls{flex:1 1 100%;width:100%}
 .tf-actions>.ut-share-controls .ut-share-button{width:100%}
}
