/* Upload cards: upload panel (toolbar + drop zone), one card per file (upload -> processing -> link), batch summary.
   Palette = the upload page's own (navy #001737, text #596882, grey #8392a5, blue #0168fa, green #10b759, amber #f5a623, red #dc3545). */
.uc-panel,.uc-card{border-radius:8px;background:#fff;box-shadow:0 10px 32px rgba(34,42,53,.04),0 1px 1px rgba(0,0,0,.025),0 0 0 1px rgba(3,7,18,.1),0 4px 6px rgba(34,42,53,.025),0 16px 24px rgba(47,48,55,.02)}   /* half the depth of 2026-10-18; the 1px edge stays */
.uc-panel{display:flow-root;margin-bottom:25px}
.uc-tools{display:flex;align-items:center;gap:4px;padding:10px 12px}
.uc-tool{display:inline-flex;align-items:center;flex-shrink:0;height:38px;margin:0;padding:0 12px;border:0;border-radius:6px;background:none;font-size:14px;font-weight:500;line-height:1;color:#001737;white-space:nowrap;cursor:pointer;transition:background-color .15s,color .15s}
.uc-tool svg{width:16px;height:16px;margin-right:8px;color:#8392a5;transition:color .15s}
.uc-tool:hover,.uc-tool:focus-visible,.uc-tool[aria-expanded=true]{background:rgba(1,104,250,.07);color:#0168fa;outline:0;text-decoration:none}
.uc-tool:hover svg,.uc-tool:focus-visible svg,.uc-tool[aria-expanded=true] svg{color:#0168fa}
.uc-tool:focus:not(:focus-visible){outline:0}
.uc-tool:focus-visible{outline:2px solid rgba(1,104,250,.5);outline-offset:1px}
.uc-tool.primary{margin-right:6px;padding:0 16px;background:#0168fa;color:#fff}
.uc-tool.primary svg{color:#fff}
.uc-tool.primary:hover,.uc-tool.primary:focus-visible{background:#0158d4;color:#fff}
.uc-tool svg.uc-caret{width:14px;height:14px;margin:0 -4px 0 6px;transition:transform .2s}
.uc-tool[aria-expanded=true] svg.uc-caret{transform:rotate(180deg)}
.uc-tool.primary[aria-expanded=true]{background:#0158d4;color:#fff}
.uc-tool.primary[aria-expanded=true] svg{color:#fff}
.uc-tools .dropdown-menu{min-width:230px;padding:6px 0;font-size:15px}
.uc-tools .dropdown-item{display:flex;align-items:center;padding:9px 18px;line-height:1.35}
.uc-tools .dropdown-item svg{flex-shrink:0;width:17px;height:17px;margin-right:12px;color:#8392a5}
.uc-tools .dropdown-divider{margin:6px 0}
#upload_menu .dropdown-item.active{background-color:transparent;color:inherit}   /* Copy files / FTP / WebDAV open tabs and stay "active": no lasting blue */
#upload_menu .dropdown-item.active:hover,#upload_menu .dropdown-item.active:focus{background-color:#e5e9f2}
.uc-tools .dropdown-item small{margin-left:auto;padding-left:16px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;color:#8392a5}
/* the page's own encryption card (e2ee_upload_toggle.html), moved into the toolbar: a plain tool, no box of its own */
#uc_e2ee_slot .chunk-card,#uc_e2ee_slot .chunk-card.on{height:38px;margin:0;border-color:transparent;border-radius:6px;background:transparent}
#uc_e2ee_slot .chunk-card:hover,#uc_e2ee_slot .chunk-card:focus-within{border-color:transparent;background:rgba(1,104,250,.07)}
/* phones: the card keeps to the first row, next to Create file. upload-cards.js (fitTools) takes the first step that fits:
   .uc-fit1 "Encryption" + "80 MB parts", .uc-fit2 "E2EE" + "80 MB", .uc-fit3 "E2EE", .uc-fit4 the shield and the switch; only then
   the same again with Create file as its icon (.uc-tools.uc-fit-icons). The full title stays for screen readers, the other hints go.
   (Phones never show the part size line: e2ee_upload_toggle.html.) */
#uc_e2ee_slot .uc-fit1 .e2ee-t-long,#uc_e2ee_slot .uc-fit2 .e2ee-t-long,#uc_e2ee_slot .uc-fit3 .e2ee-t-long{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#uc_e2ee_slot .uc-fit1 .e2ee-t-mid,#uc_e2ee_slot .uc-fit2 .e2ee-t-short,#uc_e2ee_slot .uc-fit3 .e2ee-t-short{display:inline}
#uc_e2ee_slot .uc-fit1 .chunk-hint,#uc_e2ee_slot .uc-fit2 .chunk-hint{font-size:0}
#uc_e2ee_slot .uc-fit1 .chunk-hint .chunk-on,#uc_e2ee_slot .uc-fit2 .chunk-hint .chunk-on{font-size:11px}
#uc_e2ee_slot .uc-fit1 .chunk-lead,#uc_e2ee_slot .uc-fit2 .chunk-lead,#uc_e2ee_slot .uc-fit2 .chunk-unit,#uc_e2ee_slot .uc-fit2 .chunk-help{display:none}
#uc_e2ee_slot .uc-fit3 .chunk-hint,#uc_e2ee_slot .uc-fit4 .chunk-text{display:none}
.uc-tools.uc-fit-icons #new_pick .pick-text,.uc-tools.uc-fit-icons .uc-tool.with-text .uc-tool-text{display:none}
.uc-tools.uc-fit-icons #new_pick > a > svg,.uc-tools.uc-fit-icons .uc-tool.with-text svg{margin-right:0}
.uc-panel .uc-zone{margin:0 12px 12px}
/* Bootstrap 4 draws a black ring round a button that was clicked (button:focus): here only the keyboard gets a ring, a soft blue one */
.uc-panel button:focus:not(:focus-visible),.uc-card button:focus:not(:focus-visible),.uc-summary button:focus:not(:focus-visible),.ug button:focus:not(:focus-visible),.ug [role=tab]:focus:not(:focus-visible),.uc-panel [tabindex]:focus:not(:focus-visible){outline:0}
.uc-panel button:focus-visible,.uc-card button:focus-visible,.uc-summary button:focus-visible,.ug button:focus-visible,.ug [role=tab]:focus-visible{outline:2px solid rgba(1,104,250,.45);outline-offset:2px}

/* upload options (email the links, password, expiry): icon buttons in the toolbar, one small form at a time under it */
.uc-optbtns{display:flex;flex-shrink:0;gap:2px;margin-left:auto}
.uc-opt{position:relative;padding:0 10px}
.uc-opt svg{margin-right:0}
.uc-opt-val{max-width:140px;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.uc-opt-val:not(:empty){margin-left:6px}
.uc-opt.set{background:rgba(1,104,250,.07);color:#0168fa}
.uc-opt.set svg{color:#0168fa}
.uc-optpanel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease}
.uc-optpanel.open{grid-template-rows:1fr}
.uc-optpanel > div{min-height:0;overflow:hidden}
.uc-optform{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 12px 12px;padding:10px 12px;border-radius:8px;background:#f5f7fa}
.uc-optform[hidden]{display:none}
.uc-optform > svg{flex-shrink:0;width:16px;height:16px;color:#8392a5}
.uc-in{height:36px;min-width:0;padding:0 10px;border:1px solid rgba(3,7,18,.12);border-radius:6px;background:#fff;font-size:14px;color:#001737}
.uc-in:focus{border-color:#0168fa;outline:0;box-shadow:0 0 0 3px rgba(1,104,250,.12)}
.uc-in[aria-invalid=true]{border-color:#dc3545;box-shadow:0 0 0 3px rgba(220,53,69,.12)}
.uc-in.grow{flex:1 1 200px}
.uc-in.grow2{flex:2 1 240px}
textarea.uc-in{padding:7px 10px;line-height:20px;resize:none;overflow:hidden}
.uc-in.num{width:76px}
.uc-optform-note{flex-basis:100%;font-size:12px;color:#8392a5}
.uc-form-foot .uc-optform-note{flex-basis:auto}
.uc-foot.uc-note{flex-direction:column;align-items:flex-start;gap:3px}
.uc-optform-note a{color:#0168fa}
/* From link: the note says what the chosen way does (data-when of the form: bg = the background queue, now = fetched while the visitor watches) */
.uc-optform[data-when=bg] [data-note=now],.uc-optform[data-when=now] [data-note=bg]{display:none}
/* a short help: an icon and its text, the tooltip (data-tip) on hover or keyboard focus; .end opens to the left */
.uc-tip{position:relative;display:inline-flex;align-items:center;gap:5px;cursor:help}
.uc-tip svg{flex-shrink:0;width:13px;height:13px;color:#8392a5}
.uc-tip:focus{outline:0}
.uc-tip:focus-visible{outline:2px solid rgba(1,104,250,.4);outline-offset:2px;border-radius:3px}
.uc-tip::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:-6px;z-index:30;width:max-content;max-width:min(300px,80vw);padding:8px 11px;border-radius:6px;background:#1c273c;color:#fff;font-size:12px;font-weight:400;line-height:1.5;white-space:normal;text-align:left;box-shadow:0 6px 16px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(3px);transition:opacity .15s,transform .15s,visibility .15s;pointer-events:none}
.uc-tip.end::after{left:auto;right:-6px}
.uc-tip:hover::after,.uc-tip:focus::after{opacity:1;visibility:visible;transform:none}
.uc-optpanel.settled > div{overflow:visible}   /* open and still: tooltips and the folder list may reach out of it */
/* the folder picker (upload-ui-folders.js): a button, under it a list with a search field and "New folder" */
.uc-fpick{position:relative;flex:1 1 220px;min-width:0}
.uc-fpick-native{display:none!important}
.uc-fpick-btn{display:flex;align-items:center;gap:8px;width:100%;text-align:left;cursor:pointer}
.uc-fpick-btn:hover{border-color:rgba(1,104,250,.45)}
.uc-fpick.open .uc-fpick-btn{border-color:#0168fa;box-shadow:0 0 0 3px rgba(1,104,250,.12)}
.uc-fp-ic{display:flex;color:#8392a5}
.uc-fpick-btn svg{flex-shrink:0;width:15px;height:15px;color:#8392a5}
.uc-fpick-btn .uc-fp-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uc-fp-path{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#8392a5}
.uc-fp-caret{margin-left:auto;transition:transform .2s}
.uc-fpick.open .uc-fp-caret{transform:rotate(180deg)}
.uc-fpick-pop{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:40;min-width:260px;border-radius:8px;background:#fff;box-shadow:0 14px 36px rgba(34,42,53,.16),0 0 0 1px rgba(3,7,18,.1);overflow:hidden}
.uc-fpick-pop[hidden]{display:none}
.uc-fp-search{display:flex;align-items:center;gap:8px;padding:6px 12px;border-bottom:1px solid rgba(3,7,18,.08)}
.uc-fp-search svg{flex-shrink:0;width:15px;height:15px;color:#8392a5}
.uc-fp-search input{flex:1;min-width:0;height:34px;padding:0;border:0;outline:0;background:transparent;font-size:14px;color:#001737}
.uc-fp-search input::-webkit-search-cancel-button{cursor:pointer}
.uc-fp-list{max-height:264px;margin:0;padding:6px;overflow-y:auto;list-style:none}
.uc-fp-item{display:flex;align-items:center;gap:10px;min-height:36px;padding:6px 10px;border-radius:6px;font-size:14px;color:#001737;cursor:pointer}
.uc-fp-item.active{background:rgba(1,104,250,.07)}
.uc-fp-item[aria-selected=true]{font-weight:500;color:#0168fa}
.uc-fp-item svg{flex-shrink:0;width:15px;height:15px;color:#8392a5}
.uc-fp-item[aria-selected=true] svg{color:#0168fa}
.uc-fp-item .uc-fp-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uc-fp-item mark{padding:0;border-radius:2px;background:rgba(245,166,35,.28);color:inherit}
.uc-fp-sub{min-width:0;max-width:50%;margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;color:#8392a5}
.uc-fp-check{margin-left:auto}
.uc-fp-sub + .uc-fp-check{margin-left:0}
.uc-fp-empty{padding:12px 16px;font-size:13px;color:#8392a5}
.uc-fp-empty[hidden]{display:none}
.uc-fp-foot{padding:6px;border-top:1px solid rgba(3,7,18,.08)}
.uc-fp-new{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:6px 10px;border:0;border-radius:6px;background:none;font-size:14px;color:#0168fa;text-align:left;cursor:pointer}
.uc-fp-new[hidden]{display:none}
.uc-fp-new:hover,.uc-fp-new:focus-visible{background:rgba(1,104,250,.07)}
.uc-fp-new svg{flex-shrink:0;width:15px;height:15px}
.uc-fp-new b{font-weight:500}
.uc-fp-in{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#8392a5}
.uc-fp-newform{display:flex;gap:6px;padding:2px}
.uc-fp-newform[hidden]{display:none}
.uc-fp-newform .uc-in{flex:1}
.uc-fp-err{padding:4px 8px 2px;font-size:12px;color:#dc3545}
.uc-fp-err:empty{display:none}
.uc-optform .uc-btn{height:36px}
.uc-optform-actions{display:flex;flex-shrink:0;gap:8px}
.uc-break{display:none}
.uc-chips{display:flex;flex-wrap:wrap;gap:6px}
.uc-chip{height:32px;padding:0 12px;border:1px solid rgba(3,7,18,.12);border-radius:16px;background:#fff;font-size:13px;color:#001737;cursor:pointer;transition:border-color .15s,background-color .15s,color .15s}
.uc-chip:hover{border-color:rgba(16,183,89,.55)}
.uc-chip:focus{outline:0}   /* Bootstrap 4's button:focus ring is a black outline after a click */
.uc-chip:focus-visible{box-shadow:0 0 0 3px rgba(16,183,89,.25)}
.uc-chip[aria-pressed=true],.uc-chip.on{border-color:#10b759;background:rgba(16,183,89,.08);color:#0e9f4e}
/* "Pick a date": the browser's own date picker, the field is invisible on top of the chip */
.uc-datewrap{position:relative;display:inline-flex}
.uc-chip-date{display:inline-flex;align-items:center}
.uc-chip-date svg{width:13px;height:13px;margin-right:6px}
.uc-date{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.uc-date::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;cursor:pointer}
.uc-datewrap:hover .uc-chip{border-color:rgba(16,183,89,.55)}
.uc-datewrap:focus-within .uc-chip{box-shadow:0 0 0 3px rgba(16,183,89,.2)}
.uc-or{font-size:13px;color:#8392a5}

.uc-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:152px;margin-bottom:25px;padding:24px 16px;border:1.5px dashed rgba(72,94,144,.3);border-radius:8px;background:#fff;text-align:center;cursor:pointer;transition:border-color .2s,background-color .2s,box-shadow .2s,min-height .3s}
.uc-zone:hover,.uc-zone:focus-visible{border-color:#0168fa;outline:0}
.uc-zone.drag{border-color:#0168fa;background:rgba(1,104,250,.04);box-shadow:0 10px 32px rgba(34,42,53,.08)}
.uc-zone-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:10px;border-radius:50%;background:rgba(1,104,250,.1);color:#0168fa;transition:transform .2s}
.uc-zone-icon svg{width:20px;height:20px}
.uc-zone.drag .uc-zone-icon{transform:translateY(-3px)}
.uc-zone-title{font-size:15px;font-weight:500;color:#001737}
.uc-zone-title u{text-decoration:none;color:#0168fa}
.uc-zone-hint{margin-top:3px;font-size:12px;color:#8392a5}
.uc-zone.more{min-height:0;flex-direction:row;padding:14px 16px}
.uc-zone.more .uc-zone-icon{width:28px;height:28px;margin:0 10px 0 0}
.uc-zone.more .uc-zone-icon svg{width:15px;height:15px}
.uc-zone.more .uc-zone-hint{display:none}

.uc-list{display:flex;flex-direction:column;gap:12px;margin-bottom:25px}
.uc-list:empty{display:none}
.uc-card{animation:uc-in .35s ease backwards}
@keyframes uc-in{from{opacity:0;transform:translateY(6px)}}
.uc-card.leaving{opacity:0;transform:scale(.98);transition:opacity .2s,transform .2s}

.uc-head{display:flex;align-items:center;min-height:60px;padding:12px 16px;border-bottom:1px solid transparent;transition:border-color .3s}
.uc-card.open .uc-head{border-bottom-color:rgba(3,7,18,.1)}
.uc-thumb{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;margin-right:12px;overflow:hidden;border:1px solid rgba(3,7,18,.1);border-radius:6px;background:#f3f4f6;color:#8392a5}
.uc-thumb svg{width:16px;height:16px}
.uc-thumb img{width:100%;height:100%;object-fit:cover}
.uc-thumb .uc-play{position:absolute;top:50%;left:50%;width:12px;height:12px;margin:-6px 0 0 -6px;color:#fff;fill:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.uc-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;margin-right:12px;border-radius:50%;background:rgba(1,104,250,.1);color:#0168fa}
.uc-icon svg{width:17px;height:17px}
.uc-icon.ok{background:rgba(16,183,89,.12);color:#10b759}
.uc-title{flex:1;min-width:0;color:#001737}   /* the name's colour while it is not a link yet (Bootstrap: a without href = inherit) */
.uc-name{display:block;font-size:14px;font-weight:500;line-height:20px;color:#001737;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
a.uc-name{display:inline-block;max-width:100%;vertical-align:top;text-decoration:none}   /* the link = the name, not the empty space after it */
a.uc-name[href]:hover,a.uc-name[href]:focus-visible{color:#0168fa;text-decoration:underline}   /* a finished file's name opens its download page in a new tab */
.uc-retry-gone a.uc-name{pointer-events:none}   /* deleted: the link goes nowhere */
.uc-name-row{display:flex;align-items:center;min-width:0}
.uc-name-row a.uc-name{min-width:0}
.uc-name-edit{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:22px;height:20px;margin-left:4px;padding:0;border:0;border-radius:5px;background:none;color:#8392a5;cursor:pointer}   /* Edit file (accounts), after the name */
.uc-name-edit[hidden]{display:none}
.uc-name-edit svg{width:13px;height:13px}
.uc-name-edit:hover,.uc-name-edit.active{background:rgba(1,104,250,.07);color:#0168fa}
.uc-meta{display:block;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:12px;line-height:16px;color:#8392a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.uc-pill{display:inline-flex;align-items:center;flex-shrink:0;margin-left:12px;padding:4px 8px;border:1px solid rgba(3,7,18,.1);border-radius:6px;font-size:14px;font-weight:500;line-height:20px;color:#001737;white-space:nowrap}
.uc-pill svg{width:14px;height:14px;margin-right:7px}
.uc-pill .uc-spin{margin-right:8px}
.uc-pill-stat{margin-left:5px;font-weight:400;color:#596882}   /* Done in 1 min 12 sec · max 45.3 MB/s */
.uc-meta-stat{display:none}   /* the same on phones, where the pill is its icon */
.uc-head > .uc-namelinks{flex-shrink:0;margin-left:12px}   /* a file on its own: "File name in link" before Done */
.uc-pill.blue svg{color:#0168fa}.uc-pill.green svg{color:#10b759}.uc-pill.amber svg{color:#f5a623}.uc-pill.red svg{color:#dc3545}.uc-pill.grey{color:#596882}.uc-pill.grey svg{color:#8392a5}
.uc-pill.amber svg{animation:uc-blink 1s ease-in-out infinite}
@keyframes uc-blink{50%{opacity:.35}}
.uc-spin{display:inline-block;flex-shrink:0;width:12px;height:12px;border:1.5px solid #60a5fa;border-top-color:transparent;border-radius:50%;animation:uc-spin .8s linear infinite}
@keyframes uc-spin{to{transform:rotate(360deg)}}
.uc-x{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;margin:0 -6px 0 6px;padding:0;border:0;border-radius:6px;background:none;color:#8392a5;cursor:pointer}
.uc-x svg{width:15px;height:15px}
.uc-x:hover{background:rgba(3,7,18,.05);color:#dc3545}

.uc-collapse{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.uc-card.open .uc-collapse{grid-template-rows:1fr}
.uc-collapse > div{min-height:0;overflow:hidden}
.uc-card.settled .uc-collapse > div{overflow:visible}
.uc-body{padding:12px 16px}
.uc-row{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px}
.uc-label{min-width:0;font-size:14px;line-height:20px;color:#001737;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uc-pct{flex-shrink:0;margin-left:12px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:14px;font-weight:500;color:#001737}
.uc-track{height:8px;overflow:hidden;border-radius:9999px;background:#e5e7eb}
.uc-fill{width:0;height:100%;background:#0168fa;transition:width .25s linear,background-color .3s}
.uc-card.is-offline .uc-fill{background:#dc3545}
.uc-card.is-retry .uc-fill{background:#f5a623}
.uc-card.is-done .uc-fill{background:#10b759}
.uc-foot{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;margin-top:8px;font-size:12px;line-height:16px;color:#8392a5}
.uc-foot .uc-right{margin-left:auto}
.uc-foot svg{width:12px;height:12px;margin-right:4px;vertical-align:-2px}
.uc-foot a{color:#0168fa}
.uc-card.is-offline .uc-label,.uc-card.is-error .uc-label{color:#dc3545}
.uc-card.is-retry .uc-label{color:#b26b00}

.uc-link{display:flex;align-items:center;gap:8px}
.uc-url{flex:1;min-width:0;height:36px;padding:0 12px;border:1px solid rgba(3,7,18,.1);border-radius:6px;background:#f9fafb;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13px;color:#001737;text-overflow:ellipsis}
.uc-url:focus{border-color:#0168fa;outline:0;box-shadow:0 0 0 3px rgba(1,104,250,.12)}
.uc-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:36px;padding:0 12px;border:1px solid rgba(3,7,18,.1);border-radius:6px;background:#fff;font-size:14px;font-weight:500;color:#001737;white-space:nowrap;cursor:pointer;transition:color .15s,border-color .15s,background-color .15s}
.uc-btn svg{width:15px;height:15px;margin-right:6px}
.uc-btn:hover,.uc-btn:focus-visible{border-color:rgba(1,104,250,.45);color:#0168fa;text-decoration:none;outline:0}
.uc-btn.icon{width:36px;padding:0}
.uc-btn.icon svg{margin-right:0}
.uc-btn.primary{border-color:#0168fa;background:#0168fa;color:#fff}
.uc-btn.primary:hover,.uc-btn.primary:focus-visible{border-color:#0158d4;background:#0158d4;color:#fff}
.uc-btn.done,.uc-btn.done:hover{border-color:#10b759;background:#10b759;color:#fff}
.uc-actions{display:flex;flex-shrink:0;gap:8px;margin-left:12px}
.uc-actions:empty{display:none}
/* the results list: "File name in links" and Collapse / Expand, left of Copy all links */
.uc-listopts{display:inline-flex;align-items:center;gap:8px}
.uc-namelinks{gap:7px;font-size:13px;font-weight:400;color:#596882;white-space:nowrap;user-select:none}
.uc-namelinks input{width:15px;height:15px;accent-color:#0168fa;cursor:pointer}
.uc-namelinks-row{margin-top:10px}
.uc-compact-btn svg{width:15px;height:15px;margin-right:6px}
.uc-listopts:empty{display:none}
.uc-compact > .uc-summary .uc-namelinks{display:none}   /* collapsed: no link field, so no file name for it (shown again when expanded) */
/* collapsed: a finished file is one row, its name and its buttons; the link field, the notes and the Done pill go, a drawer
   (QR code, Edit, Send by email) opens under the row. A click on the row opens that one file as in the expanded list (.uc-row-open) */
.uc-compact .uc-card.is-done:not(.uc-row-open){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.uc-compact .uc-card.is-done:not(.uc-row-open) > .uc-collapse,.uc-compact .uc-card.is-done:not(.uc-row-open) > .uc-collapse > div,.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-body{display:contents}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-head{min-height:52px;padding:8px 16px;border-bottom-width:0}   /* only the width: its colour stays (no dark line while a row opens) */
.uc-compact .uc-card.is-done:not(.uc-row-open):not(.uc-retry-gone) .uc-pill,.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-url,.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-foot{display:none}   /* a deleted file keeps its "Deleted" pill */
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-link{grid-column:2;grid-row:1;padding:8px 16px 8px 0}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-drawer{grid-column:1 / -1;padding:0 16px}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-drawer.open{padding-bottom:12px}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-drawer-in{margin-top:0}
.uc-row-ico{display:none;flex-shrink:0;margin-left:8px;color:#8392a5;transition:transform .2s}
.uc-row-ico svg{display:block;width:15px;height:15px}
.uc-compact .uc-card.is-done .uc-head{cursor:pointer}
.uc-compact .uc-card.is-done .uc-row-ico{display:block}
.uc-compact .uc-card.uc-row-open .uc-row-ico{transform:rotate(180deg)}
.uc-compact .uc-card.is-done .uc-head:hover .uc-row-ico{color:#0168fa}
.uc-list.uc-compact{gap:8px}
.uc-btn.active{border-color:rgba(1,104,250,.45);background:rgba(1,104,250,.07);color:#0168fa}
.uc-badge{display:inline-flex;align-items:center;margin-left:8px;font-family:inherit;color:#8392a5}
.uc-badge svg{width:11px;height:11px;margin-right:3px}

/* drawers under the link row: QR code, Edit file (one open at a time) */
.uc-drawer{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease}
.uc-drawer.open{grid-template-rows:1fr}
.uc-drawer > div{min-height:0;overflow:hidden}
.uc-drawer-in{margin-top:12px;padding-top:12px;border-top:1px solid rgba(3,7,18,.08)}
.uc-qr{display:flex;align-items:center;gap:16px}
.uc-qr img{flex-shrink:0;width:132px;height:132px;padding:6px;border:1px solid rgba(3,7,18,.1);border-radius:8px;background:#fff;image-rendering:pixelated}
.uc-qr-text{min-width:0}
.uc-qr-text b{display:block;font-size:14px;font-weight:500;color:#001737}
.uc-qr-text > span{display:block;margin:2px 0 10px;font-size:12px;color:#8392a5}
.uc-qr-text .uc-btn{height:32px;font-size:13px;margin:0 6px 6px 0}
.uc-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.uc-field{display:flex;flex-direction:column;min-width:0;margin:0}
.uc-field.wide{grid-column:1/-1}
.uc-field > span:first-child{margin-bottom:4px;font-size:12px;font-weight:500;color:#596882}
.uc-input{display:flex;gap:6px}
.uc-form input[type=text],.uc-form input[type=email],.uc-form textarea{width:100%;min-width:0;height:36px;padding:0 10px;border:1px solid rgba(3,7,18,.12);border-radius:6px;background:#fff;font-size:14px;color:#001737}
.uc-form textarea{height:auto;min-height:36px;padding:7px 10px;resize:vertical}
.uc-form input[type=text]:focus,.uc-form input[type=email]:focus,.uc-form textarea:focus{border-color:#0168fa;outline:0;box-shadow:0 0 0 3px rgba(1,104,250,.12)}
.uc-check{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:#001737;cursor:pointer}
.uc-check input{width:16px;height:16px;margin:0}
.uc-form-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;grid-column:1/-1;margin-top:2px}
.uc-form-foot .uc-spacer{flex:1}
.uc-form-foot a.uc-btn{text-decoration:none}

.uc-card .dropdown-menu{font-size:13px}
.uc-card .dropdown-item svg{width:14px;height:14px;margin-right:8px;color:#8392a5}

.uc-cancelled{opacity:.6}

@media (max-width:575.98px){
.uc-pill .uc-pill-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.uc-pill svg,.uc-pill .uc-spin{margin-right:0}
.uc-pill .uc-pill-stat{display:none}
.uc-meta-stat{display:block;white-space:normal}   /* a line of its own under the size */
.uc-head > .uc-namelinks{margin-left:8px}
.uc-head{padding:10px 12px}
.uc-body{padding:10px 12px}
.uc-label,.uc-pct{font-size:13px}
.uc-btn .uc-btn-text{display:none}
.uc-btn svg{margin-right:0}
.uc-btn{width:36px;padding:0}
.uc-link{flex-wrap:wrap}
.uc-link .uc-url{flex:1 1 100%}
.uc-link .uc-copy{flex:1;width:auto;padding:0 12px}
.uc-link .uc-copy .uc-btn-text{display:inline}
.uc-link .uc-copy svg{margin-right:6px}
.uc-qr img{width:112px;height:112px}
.uc-form{grid-template-columns:1fr}
.uc-form-foot .uc-btn{width:auto;padding:0 12px}
.uc-form-foot .uc-btn .uc-btn-text{display:inline}
.uc-form-foot .uc-btn svg{margin-right:6px}
.uc-tools{flex-wrap:wrap;gap:2px;padding:8px}
.uc-break{display:block;order:2;flex-basis:100%;height:4px}   /* phones: Upload, Create file, encryption; second row = the options */
.uc-optbtns{order:3;margin-left:0}
.uc-optform-actions{margin-left:auto}
.uc-optform > svg{display:none}
.uc-opt-val{display:none}
.uc-opt.set::after{content:"";position:absolute;top:7px;right:6px;width:6px;height:6px;border-radius:50%;background:#0168fa}
.uc-optform{margin:0 8px 8px}
.uc-in.grow,.uc-in.grow2{flex-basis:100%}
.uc-optform .uc-btn{width:auto;padding:0 12px}
.uc-optform .uc-btn .uc-btn-text{display:inline}
.uc-optform .uc-btn svg{margin-right:6px}
.uc-optform .uc-btn.icon{width:36px;padding:0}
.uc-optform .uc-btn.icon svg{margin-right:0}
.uc-tool{padding:0 10px}
.uc-tool:not(.primary):not(.with-text) .uc-tool-text{display:none}
.uc-tool:not(.primary):not(.with-text) svg{margin-right:0}
.uc-tool.with-text svg{margin-right:6px}
.uc-panel .uc-zone{margin:0 8px 8px}
.uc-tool.primary{margin-right:4px;padding:0 12px}   /* room for the encryption card in the first row */
.uc-tools #new_pick{padding:0 8px}
#uc_e2ee_slot{margin-left:auto}
#uc_e2ee_slot .chunk-card{padding:0 12px 0 6px}
#uc_e2ee_slot .chunk-icon{margin-right:5px}
#uc_e2ee_slot .chunk-text{margin-right:5px}
}
@media (min-width:576px) and (max-width:991.98px){   /* .tl = text only from 992px: icon buttons on tablets */
.uc-btn.tl{width:36px;padding:0}
.uc-btn.tl .uc-btn-text,.uc-tool.tl .uc-tool-text{display:none}
.uc-btn.tl svg,.uc-tool.tl svg{margin-right:0}
}
@media (max-width:575.98px){
.uc-summary .uc-head{flex-wrap:wrap;row-gap:10px}   /* the title keeps the width, the buttons go on a line of their own */
.uc-summary .uc-actions{flex-basis:100%;justify-content:flex-end;margin-left:0}
.uc-summary .uc-listopts{margin-right:auto}
.uc-namelinks span{display:none}   /* the checkbox alone, its title says what it does */
.uc-namelinks::after{content:"Names";font-size:12px;color:#596882}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-link .uc-copy{flex:0 0 auto;width:36px;padding:0}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-link .uc-copy .uc-btn-text{display:none}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-link .uc-copy svg{margin-right:0}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-link{gap:6px;padding-right:12px}
.uc-compact .uc-card.is-done:not(.uc-row-open) .uc-head{padding-right:8px}
}
@media (max-width:767.98px),(pointer:coarse){   /* iOS zooms the page into a field under 16px */
.uc-form input[type=text],.uc-form input[type=email],.uc-form textarea,.uc-in,.uc-fp-search input{font-size:16px}
.uc-fp-list{max-height:min(264px,45vh)}
.uc-fp-item,.uc-fp-new{min-height:42px}
}
@media (prefers-reduced-motion:reduce){
.uc-card,.uc-spin,.uc-pill.amber svg{animation:none}
.uc-collapse,.uc-fill{transition:none}
}
@media (prefers-color-scheme:dark){
.uc-panel{background:#1a1a1a;box-shadow:0 10px 32px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1),0 0 0 1px rgba(255,255,255,.1),0 4px 6px rgba(0,0,0,.1),0 16px 24px rgba(0,0,0,.125)}
.uc-tool,.uc-qr-text b,.uc-check,.uc-form input[type=text],.uc-form input[type=email],.uc-form textarea{color:#D0D3D4}
.uc-tool:hover,.uc-tool:focus-visible,.uc-tool[aria-expanded=true]{background:rgba(255,255,255,.06);color:#6aa8ff}
.uc-tool:hover svg,.uc-tool:focus-visible svg{color:#6aa8ff}
.uc-tool.primary,.uc-tool.primary:hover{color:#fff}
.uc-field > span:first-child{color:#97a3b9}
.uc-drawer-in{border-top-color:rgba(255,255,255,.08)}
.uc-form input[type=text],.uc-form input[type=email],.uc-form textarea{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.04)}
.uc-btn.active{background:rgba(1,104,250,.15);color:#6aa8ff}
.uc-zone{border-color:rgba(255,255,255,.18);background:#1a1a1a}
.uc-opt.set{background:rgba(1,104,250,.15);color:#6aa8ff}
.uc-opt.set svg{color:#6aa8ff}
.uc-optform{background:rgba(255,255,255,.04)}
.uc-in,.uc-chip{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#D0D3D4}
.uc-chip[aria-pressed=true],.uc-chip.on{border-color:#10b759;background:rgba(16,183,89,.15);color:#3ddc84}
#uc_e2ee_slot .chunk-card,#uc_e2ee_slot .chunk-card.on{border-color:transparent;background:transparent}
#uc_e2ee_slot .chunk-card:hover,#uc_e2ee_slot .chunk-card:focus-within{background:rgba(255,255,255,.06)}
#upload_menu .dropdown-item.active:hover,#upload_menu .dropdown-item.active:focus{background-color:rgba(255,255,255,.06)}
.uc-fpick-pop{background:#22252b;box-shadow:0 14px 36px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.1)}
.uc-fp-search,.uc-fp-foot{border-color:rgba(255,255,255,.08)}
.uc-fp-search input,.uc-fp-item{color:#D0D3D4}
.uc-fp-item.active,.uc-fp-new:hover,.uc-fp-new:focus-visible{background:rgba(255,255,255,.06)}
.uc-fp-item[aria-selected=true],.uc-fp-item[aria-selected=true] svg,.uc-fp-new{color:#6aa8ff}
.uc-tip::after{background:#3b4863}
.uc-date{color-scheme:dark}
.uc-optform-note,.uc-or{color:#97a3b9}
.uc-zone.drag{background:rgba(1,104,250,.08)}
.uc-zone-title,.uc-title,.uc-name,.uc-label,.uc-pct,.uc-pill,.uc-url{color:#D0D3D4}
.uc-zone-hint,.uc-meta,.uc-foot,.uc-pill.grey,.uc-pill-stat{color:#97a3b9}
.uc-card{background:#1a1a1a;box-shadow:0 10px 32px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1),0 0 0 1px rgba(255,255,255,.1),0 4px 6px rgba(0,0,0,.1),0 16px 24px rgba(0,0,0,.125)}
.uc-card.open .uc-head{border-bottom-color:rgba(255,255,255,.1)}
.uc-thumb{border-color:rgba(255,255,255,.1);background:#2c333e}
.uc-pill,.uc-btn,.uc-url{border-color:rgba(255,255,255,.12)}
.uc-btn{background:transparent;color:#D0D3D4}
.uc-url{background:rgba(255,255,255,.04)}
.uc-track{background:rgba(255,255,255,.1)}
.uc-x:hover{background:rgba(255,255,255,.06)}
.uc-compact .uc-card.is-done .uc-head:hover .uc-row-ico,a.uc-name[href]:hover,a.uc-name[href]:focus-visible{color:#6aa8ff}
.uc-name-edit:hover,.uc-name-edit.active{background:rgba(1,104,250,.15);color:#6aa8ff}
.uc-card.is-retry .uc-label{color:#f5a623}
}

/* Guests: what send.now offers, under the upload panel (three points, more ways to upload, Premium in one line) */
.ug{margin:0 0 10px}
.ug-head{margin-bottom:18px}
.ug-head h2{margin:0;font-size:20px;font-weight:600;color:#001737;letter-spacing:-.2px}
.ug-head p{margin:4px 0 0;font-size:14px;color:#596882}
.ug-perks{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 28px;margin-bottom:26px}
.ug-perk{display:flex;align-items:flex-start;gap:12px;min-width:0}
.ug-ic{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:8px;background:rgba(1,104,250,.08);color:#0168fa}
.ug-ic svg{width:16px;height:16px}
.ug-perk b{display:block;margin-bottom:1px;font-size:14px;font-weight:600;line-height:1.35;color:#001737}
.ug-perk div > span{display:block;font-size:13px;line-height:1.45;color:#596882}
.ug-ways{margin-bottom:36px;box-shadow:0 0 0 1px rgba(3,7,18,.1)}   /* no shadow: only the 1px edge */
.ug-ways-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:10px 12px 10px 16px;border-bottom:1px solid transparent;transition:border-color .25s}
.ug-ways.open .ug-ways-head{border-bottom-color:rgba(3,7,18,.08)}
.ug-ways-title{flex:1;min-width:0;padding:0;border:0;background:none;text-align:left;cursor:pointer}
.ug-ways-title:focus-visible{outline:2px solid rgba(1,104,250,.5);outline-offset:4px;border-radius:4px}
.ug-chev{border-color:transparent;background:none}
.ug-chev svg{transition:transform .25s}
.ug-ways.open .ug-chev svg{transform:rotate(180deg)}
.ug-ways:not(.open) .ug-tabs button[aria-selected=true]{background:none;box-shadow:none;color:#596882}
.ug-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.ug-ways.open .ug-body{grid-template-rows:1fr}
.ug-body > div{min-height:0;overflow:hidden}
.ug-ways-head b{display:block;font-size:15px;font-weight:600;color:#001737}
.ug-ways-head span{font-size:12px;color:#8392a5}
.ug-tabs{display:inline-flex;padding:3px;border-radius:8px;background:#f1f3f7}
.ug-tabs button{display:inline-flex;align-items:center;height:32px;padding:0 14px;border:0;border-radius:6px;background:none;font-size:13px;font-weight:500;color:#596882;cursor:pointer;transition:background-color .15s,color .15s}
.ug-tabs button svg{width:14px;height:14px;margin-right:6px}
.ug-tabs button[aria-selected=true]{background:#fff;color:#001737;box-shadow:0 1px 2px rgba(3,7,18,.12)}
.ug-tabs button:focus-visible{outline:2px solid rgba(1,104,250,.5);outline-offset:1px}
.ug-pane{padding:16px}
.ug-pane[hidden]{display:none}
.ug-pane > p{margin:0 0 12px;font-size:14px;line-height:1.55;color:#596882}
.ug-code{position:relative;margin:0 0 12px;border-radius:8px;background:#0f1b2d}
.ug-code pre{margin:0;padding:14px 52px 14px 16px;overflow-x:auto;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:12.5px;line-height:1.7;color:#d6deeb;white-space:pre}
.ug-code pre .c{color:#7f8ea3}
.ug-code .uc-btn svg{margin-right:0}
.ug-code .uc-btn{position:absolute;top:8px;right:8px;width:32px;height:32px;padding:0;border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.06);color:#d6deeb}
.ug-code .uc-btn:hover{border-color:rgba(255,255,255,.35);color:#fff}
.ug-facts{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin:0 0 12px;font-size:13px}
.ug-facts dt{font-weight:500;color:#8392a5}
.ug-facts dd{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;color:#001737}
.ug-facts code{padding:2px 6px;border-radius:4px;background:#f1f3f7;font-size:12.5px;color:#001737}
.ug-facts .uc-btn{width:28px;height:28px}
.ug-facts .uc-btn svg{width:13px;height:13px}
.ug-pane-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;font-size:13px}
.ug-need{display:inline-flex;align-items:center;color:#8392a5}
.ug-need svg{width:13px;height:13px;margin-right:6px}
.ug-link{display:inline-flex;align-items:center;font-weight:500;color:#0168fa}
.ug-link svg{width:14px;height:14px;margin-left:4px;transition:transform .15s}
.ug-link:hover{color:#0158d4;text-decoration:none}
.ug-link:hover svg{transform:translateX(2px)}
@media (max-width:991.98px){.ug-perks{grid-template-columns:repeat(2,1fr);gap:16px 24px}}
@media (max-width:767.98px){
.ug-ways{margin-bottom:28px}
.ug-perks{grid-template-columns:1fr;gap:14px}
.ug-ways-head{padding:10px 10px 10px 12px}
.ug-ways-head .ug-tabs{order:3}
.ug-tabs{width:100%}
.ug-tabs button{flex:1;justify-content:center;padding:0 8px}
.ug-pane{padding:12px}
.ug-facts{grid-template-columns:1fr;gap:2px}
.ug-facts dd{margin-bottom:8px}
}
@media (prefers-color-scheme:dark){
.ug-head h2,.ug-perk b,.ug-ways-head b,.ug-facts dd,.ug-facts code{color:#D0D3D4}
.ug-head p,.ug-perk div > span,.ug-pane > p{color:#97a3b9}
.ug-ic{background:rgba(1,104,250,.15);color:#6aa8ff}
.ug-ways{box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.ug-ways.open .ug-ways-head{border-bottom-color:rgba(255,255,255,.08)}
.ug-ways:not(.open) .ug-tabs button[aria-selected=true]{background:none;color:#97a3b9}
.ug-tabs{background:rgba(255,255,255,.06)}
.ug-tabs button{color:#97a3b9}
.ug-tabs button[aria-selected=true]{background:#2a2f38;color:#fff}
.ug-code{background:#0b0f16}
.ug-facts code{background:rgba(255,255,255,.07)}
.ug-link{color:#6aa8ff}
}

/* buttons a module adds to a failed card (Retry, Remove ...) */
.uc-err-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.uc-err-actions .uc-btn{height:32px;font-size:13px}
@media (max-width:575.98px){
.uc-err-actions .uc-btn{width:auto;padding:0 12px}
.uc-err-actions .uc-btn .uc-btn-text{display:inline}
.uc-err-actions .uc-btn svg{margin-right:6px}
}

/* a short line under the panel (e.g. "2 links added") */
.uc-flash{display:flex;align-items:center;gap:8px;margin:0 12px 12px;padding:8px 12px;border-radius:6px;background:rgba(16,183,89,.08);font-size:13px;color:#0e7a3e}
.uc-flash.bad{background:rgba(220,53,69,.08);color:#b02a37}
.uc-flash[hidden]{display:none}
.uc-flash svg{flex-shrink:0;width:14px;height:14px}
@media (prefers-color-scheme:dark){.uc-flash{background:rgba(16,183,89,.15);color:#3ddc84}.uc-flash.bad{background:rgba(220,53,69,.15);color:#ff8a95}}

/* an encrypted upload (upload-ui.js Batch.e2ee): the E2EE hook's own progress bar and result boxes stay hidden, the panel stays */
body.uc-e2ee-run #upload_progress,body.uc-e2ee-run #upload_result{display:none!important}
body.uc-e2ee-run #upload_box{display:block!important}
