/* Public upload surface. All account and administration styles stay independent. */
.uf-upload-hero { background: #0b0c0d; color: #f3f4f5; padding-block: 44px 0; }
.guest-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.guest-heading-copy { min-width: 0; }
.uf-upload-hero h1 { font-size: clamp(38px, 3.5vw, 50px); line-height: 1.16; letter-spacing: -.035em; margin: 0 0 12px; font-weight: 750; }
.marketing-site .guest-heading-copy > p { font-size: 18px; line-height: 1.6; color: #adb1b7; margin: 0; max-width: 780px; }
.guest-heading-facts { display: flex; gap: 18px; flex-shrink: 0; color: #adb1b7; padding-top: 8px; }
.guest-heading-facts > span { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; max-width: 150px; }
.guest-heading-facts > span + span { border-inline-start: 1px solid #303236; padding-inline-start: 18px; }
.guest-heading-facts .icon { width: 18px; height: 18px; color: #adb1b7; }
.guest-surface { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; background: #141618; color: #f3f4f5; border: 1px solid #303236; border-radius: 8px; padding: 20px; }
.guest-main { min-width: 0; }
.guest-dropzone { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #53565c; padding: 24px; border-radius: 8px; text-align: center; background: #141618; transition: border-color .15s, background .15s; }
.guest-dropzone.is-dragging { border-color: #e7e7e7; background: #1b1d20; }
.guest-dropzone > .icon { width: 34px; height: 34px; margin-bottom: 17px; color: #e7e7e7; }
.guest-dropzone h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.5px; margin: 0 0 8px; }
.marketing-site .guest-dropzone > p { font-size: 16px; margin: 0 0 22px; color: #adb1b7; line-height: 1.5; }
.marketing-site .guest-uploader .btn { min-height: 42px; padding: 10px 18px; font-size: 14px; border-radius: 7px; }
.marketing-site .guest-uploader .btn.primary { background: #e7e7e7; color: #141618; border-color: #e7e7e7; }
.marketing-site .guest-uploader .btn.primary:hover { background: #fff; border-color: #fff; }
.marketing-site .guest-uploader .btn.secondary { background: #141618; color: #e7e7e7; border-color: #303236; }
.marketing-site .guest-uploader .btn.secondary:hover { background: #1b1d20; border-color: #e7e7e7; }
.marketing-site .guest-uploader .btn:disabled { opacity: 1; color: #92979e; background: #222427; border-color: #303236; cursor: not-allowed; }
.guest-options { border-inline-start: 1px solid #303236; padding: 9px 8px 8px 24px; min-width: 0; display: flex; flex-direction: column; }
[dir=rtl] .guest-options { padding-inline: 24px 8px; }
.guest-options h2 { font-size: 18px; line-height: 1.4; margin: 0 0 26px; letter-spacing: -.25px; }
.guest-option-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: start; }
.guest-options .field { margin: 0; min-width: 0; }
.guest-options .field > span { display: block; font-size: 14px; color: #e9eaeb; font-weight: 600; line-height: 1.45; margin-bottom: 9px; overflow-wrap: anywhere; }
.guest-options .field input, .guest-options .field select { width: 100%; min-width: 0; background: #141618; border: 1px solid #303236; border-radius: 7px; font-size: 15px; min-height: 44px; padding: 10px 12px; color: #e9eaeb; }
.guest-options .guest-option-help { color: #adb1b7; font-size: 13px; line-height: 1.5; margin: 9px 0 0; }
.guest-options > .btn { margin-top: auto; width: 100%; }
.guest-options .form-error { color: #efb1b1; font-size: 14px; margin: 14px 0; }
.guest-footnotes { display: grid; grid-template-columns: minmax(0,1fr) minmax(210px,.85fr); gap: 24px; align-items: start; padding: 16px 2px 25px; border-bottom: 1px solid #303236; }
.guest-uploader .guest-limits { color: #adb1b7; font-size: 13px; line-height: 1.7; margin: 2px 0 0; }
.guest-disclosure { min-width: 0; }
.guest-disclosure > summary { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 14px; font-weight: 600; color: #e9eaeb; list-style: none; cursor: pointer; min-height: 28px; }
.guest-disclosure > summary::-webkit-details-marker { display: none; }
.guest-disclosure > summary > .icon { width: 15px; height: 15px; transform: none; }
.guest-disclosure[open] > summary > .icon { transform: rotate(180deg); }
.guest-disclosure > div { padding-top: 14px; }
.guest-disclosure p { color: #adb1b7; font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.guest-disclosure p:last-child { margin-bottom: 0; }
.guest-queue { display: grid; gap: 9px; margin-top: 16px; }
.guest-queue:empty { display: none; }
.guest-job { display: flex; align-items: center; gap: 12px; background: #1b1d20; border: 1px solid #303236; border-radius: 8px; padding: 13px; }
.guest-file-icon { width: 38px; height: 42px; flex-shrink: 0; display: grid; place-items: center; color: #e7e7e7; background: #1b1d20; border-radius: 6px; overflow: hidden; }
.guest-file-icon > .icon { width: 24px; height: 24px; }
.guest-file-icon img { width: 100%; height: 100%; object-fit: cover; }
.guest-job-copy { min-width: 0; flex: 1; }
.guest-job-copy > strong { font-size: 14px; display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.guest-job-copy > p { color: #adb1b7; font-size: 13px; line-height: 1.5; margin: 5px 0 8px; overflow-wrap: anywhere; }
.guest-job progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 5px; appearance: none; background: #222427; overflow: hidden; }
.guest-job progress::-webkit-progress-bar { background: #222427; }
.guest-job progress::-webkit-progress-value { background: #e7e7e7; border-radius: 5px; }
.guest-job progress::-moz-progress-bar { background: #e7e7e7; border-radius: 5px; }
.guest-job-actions { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.marketing-site .guest-job-actions .btn { font-size: 13px; padding: 7px 9px; min-height: 36px; }
.guest-job-actions .btn > .icon { width: 15px; }
.guest-main .error-state { text-align: start; min-height: auto; padding: 16px 4px 0; }
.guest-main .error-state p { font-size: 14px; color: #efb1b1; }
.guest-file-section { margin-top: 30px; padding-bottom: 28px; }
.guest-file-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.guest-file-heading h2 { font-size: 22px; color: #f3f4f5; margin: 0; }
.guest-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guest-file-card { border: 1px solid #303236; border-radius: 8px; background: #141618; padding: 20px; color: #f3f4f5; min-width: 0; }
.guest-file-card-top { display: flex; align-items: center; gap: 12px; }
.guest-file-card-top > div:not(.guest-file-icon) { min-width: 0; flex: 1; }
.guest-file-card-top h3 { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; margin: 0 0 5px; }
.guest-file-card-top p { font-size: 13px; margin: 0; }
.guest-file-card .guest-expiry { font-size: 13px; color: #adb1b7; margin-block: 16px; }
.guest-file-card .form-error { font-size: 14px; color: #efb1b1; }
.guest-share-link { border-top: 1px solid #303236; margin-block: 16px; padding-top: 16px; min-width: 0; }
.guest-share-link > input { width: 100%; min-width: 0; font-size: 13px; padding: 11px; border: 1px solid #303236; border-radius: 7px; color: #e9eaeb; background: #1b1d20; }
.guest-share-link > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.marketing-site .guest-share-link .btn { font-size: 13px; padding: 8px 12px; min-height: 38px; }
.guest-share-link > p { font-size: 13px; color: #adb1b7; line-height: 1.6; margin: 12px 0 0; }
.guest-unfinished > p { font-size: 14px; margin-block: 16px; }
.guest-uploader :focus-visible { outline: 3px solid #8d939b; outline-offset: 3px; }
@media (max-width: 1100px) {
  .guest-heading-facts { display: none; }
  .guest-surface { gap: 20px; }
  .guest-options { padding-inline-start: 20px; }
  .guest-option-fields { grid-template-columns: 1fr; gap: 14px; }
  .guest-options h2 { margin-bottom: 16px; }
  .guest-options > .btn { margin-top: 18px; }
  .guest-dropzone { height: 100%; min-height: 280px; }
}
@media (max-width: 760px) {
  .uf-upload-hero { padding-block-start: 30px; }
  .uf-upload-hero h1 { font-size: 39px; }
  .marketing-site .guest-heading-copy > p { font-size: 17px; }
  .guest-heading { margin-bottom: 24px; }
  .guest-surface { grid-template-columns: 1fr; }
  .guest-options { border-inline: 0; border-top: 1px solid #303236; padding: 20px 0 0; }
  .guest-option-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .guest-dropzone { min-height: 200px; }
  .guest-footnotes { grid-template-columns: 1fr; gap: 12px; padding-bottom: 20px; }
  .guest-disclosure > summary { justify-content: flex-start; }
  .guest-files { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .uf-upload-hero { padding-block-start: 24px; }
  .uf-upload-hero h1 { font-size: 34px; letter-spacing: -.03em; }
  .marketing-site .guest-heading-copy > p { font-size: 16px; }
  .guest-heading { margin-bottom: 22px; }
  .guest-surface { padding: 16px; gap: 16px; }
  .guest-dropzone { padding: 20px 12px; min-height: 195px; }
  .guest-dropzone > .icon { width: 29px; height: 29px; margin-bottom: 12px; }
  .guest-dropzone h2 { font-size: 22px; }
  .marketing-site .guest-dropzone > p { font-size: 15px; margin-bottom: 16px; }
  .guest-options { padding-top: 18px; }
  .guest-options h2 { font-size: 17px; margin-bottom: 16px; }
  .guest-option-fields { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 12px; }
  .guest-options .field > span { min-height: 39px; font-size: 13px; }
  .guest-options .field input, .guest-options .field select { font-size: 16px; padding-inline: 9px; }
  .guest-options .guest-option-help { font-size: 13px; }
  .guest-job { align-items: flex-start; gap: 9px; flex-wrap: wrap; }
  .guest-job .guest-file-icon { width: 32px; height: 36px; }
  .guest-job-actions { margin-inline-start: auto; }
  .guest-job-copy > strong { font-size: 14px; }
  .guest-file-card { padding: 17px; }
}
[dir=rtl] .uf-upload-hero h1 { letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .guest-dropzone { transition: none; } }
