.cloud-file-dialog{width:min(760px,calc(100vw - 32px));max-width:none;max-height:min(820px,calc(100dvh - 36px));padding:0;margin:auto;border-radius:20px;overflow:hidden;background:var(--paper);color:var(--ink)}
.cloud-file-dialog[open]{display:flex;flex-direction:column}.cloud-file-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;border-bottom:1px solid var(--line);flex-shrink:0}.cloud-file-header h2{font-size:20px;letter-spacing:-.6px}.cloud-file-close{display:grid;place-items:center;width:38px;height:38px;padding:0;flex-shrink:0;border-radius:11px;background:var(--light);color:var(--ink);font-size:26px;line-height:1}
.cloud-file-status{padding:12px 24px;margin:0;background:var(--light);color:var(--muted);font-size:13px;flex-shrink:0}.cloud-file-status.error{color:var(--red);background:#fff2f0}.cloud-file-body{display:flex;flex-direction:column;min-height:0;overflow:auto;padding:18px 24px 0;gap:12px}.cloud-file-breadcrumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:13px;flex-shrink:0}.cloud-file-crumb{padding:5px 7px;border-radius:7px;background:transparent;color:var(--muted);max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cloud-file-crumb:hover{background:var(--light)}.cloud-file-crumb[aria-current=location]{color:var(--ink);font-weight:700}.cloud-file-search{min-height:44px;flex-shrink:0;background:var(--bg)}
.cloud-file-tools{display:flex;justify-content:flex-end;gap:18px;flex-shrink:0}.cloud-file-list{min-height:180px;max-height:440px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;flex:1 1 auto}.cloud-file-row{display:flex;align-items:center;gap:12px;padding:13px 15px;min-height:66px;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--paper);text-align:left;color:var(--ink);cursor:pointer;font-weight:400}.cloud-file-row:last-child{border-bottom:0}.cloud-file-row:hover,.cloud-file-row.selected{background:var(--light)}.cloud-file-row>input[type=checkbox]{width:19px;height:19px;margin:0;flex-shrink:0}.cloud-file-type{display:grid;place-items:center;font-size:22px;width:34px;height:36px;background:var(--bg);border-radius:7px;color:var(--green);flex-shrink:0}.cloud-file-type:not(.folder){font-size:15px}.cloud-file-type.folder{margin-left:31px}.cloud-file-info{min-width:0;flex:1}.cloud-file-info strong{display:block;font-size:14px;font-weight:600;white-space:normal;overflow-wrap:anywhere;line-height:1.45}.cloud-file-info small{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:4px}.cloud-file-forward{font-size:25px;color:var(--muted)}.cloud-file-empty{padding:50px 20px;text-align:center;color:var(--muted);font-size:14px}.cloud-file-more{align-self:center;min-height:36px;padding:6px 20px}.cloud-file-footer{display:flex;align-items:center;gap:10px;position:sticky;bottom:0;padding:17px 0 18px;margin-top:2px;border-top:1px solid var(--line);background:var(--paper);font-size:13px;flex-shrink:0}.cloud-file-count{margin-right:auto!important;color:var(--green);font-weight:600}.cloud-file-footer>button{white-space:nowrap}.cloud-file-explanation{padding:18px 0 4px;font-size:15px;line-height:1.8}.cloud-file-connect-actions{display:flex;justify-content:flex-end;gap:10px;padding:12px 0 24px}.picker-dialog{max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 16px)!important;z-index:100001!important}.picker-dialog-bg{z-index:100000!important}
@media(max-width:600px){.cloud-file-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:16px}.cloud-file-header{padding:15px 16px;gap:10px}.cloud-file-header h2{font-size:17px}.cloud-file-body{padding:12px 14px 0;gap:10px}.cloud-file-status{padding:10px 16px}.cloud-file-list{max-height:calc(100dvh - 300px);min-height:150px}.cloud-file-row{padding:12px 10px;gap:9px}.cloud-file-type.folder{margin-left:28px}.cloud-file-type{width:30px}.cloud-file-footer{gap:7px;padding:12px 0}.cloud-file-footer>button{padding:9px 12px;min-height:42px}.cloud-file-count{font-size:12px}.cloud-file-connect-actions{flex-wrap:wrap}.cloud-file-crumb{max-width:180px}}
