:root{font-family:Arial,"Microsoft YaHei",sans-serif;color:#1b2421;background:#f7f8f7;font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}h1,h2,p{margin:0}h1{font-size:25px;font-weight:650}h2{font-size:15px;font-weight:650}a{color:inherit}
.app-shell{min-height:100vh}.topbar{height:62px;background:#fff;border-bottom:1px solid #e3e8e5;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1240px)/2))}.brand{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}.brand-mark{width:28px;height:28px;border-radius:5px;display:grid;place-items:center;color:white;background:#2b6755;font-size:16px}.top-actions{display:flex;gap:14px;align-items:center}.quota,.muted{color:#66736c;font-size:12px}.quiet{border:0;background:transparent;color:#415f54;padding:8px}.quiet:hover{text-decoration:underline}.primary{background:#26785e;border:1px solid #26785e;color:#fff;border-radius:5px;min-height:38px;padding:0 17px;font-weight:650}.primary:hover{background:#1d644d}.full{width:100%}.eyebrow{color:#2a775c;font-size:12px;font-weight:700;margin-bottom:8px}
.login-view{min-height:calc(100vh - 62px);display:grid;place-items:center;padding:24px}.login-box{width:min(100%,380px);background:#fff;border:1px solid #e1e8e3;border-radius:7px;padding:30px}.login-box h1{margin-bottom:24px}.login-box label{display:block;margin:0 0 7px;font-weight:600}.login-box input{width:100%;margin:0 0 19px;padding:10px;border:1px solid #cbd7cf;border-radius:5px;outline-color:#26785e}.error{color:#af3a30;min-height:20px;margin-top:10px;font-size:12px}
.workspace-head{max-width:1240px;margin:0 auto;padding:30px 24px 24px;display:flex;justify-content:space-between;align-items:end}.workspace{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:180px minmax(0,1fr);gap:34px;padding:0 24px 54px}.sidebar{border-right:1px solid #e1e7e2;padding:8px 18px 0 0}.sidebar h2{color:#69756e;font-size:12px;margin:0 0 14px}.folder-list{display:grid;gap:3px}.folder{width:100%;text-align:left;border:0;background:transparent;border-radius:4px;padding:9px 10px;color:#34443a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder:hover{background:#e9f0eb}.folder.active{background:#e0eee6;color:#15593f;font-weight:700}.content{min-width:0}.upload-panel{background:#fff;border:1px solid #e1e8e3;border-radius:7px;padding:20px 22px;margin-bottom:28px}.upload-title{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.upload-title span{font-size:12px;color:#6c7770}.upload-controls{display:flex;align-items:end;gap:10px;margin-top:17px;flex-wrap:wrap}.field{display:grid;gap:6px;color:#536259;font-size:12px}.folder-field{flex:1;min-width:180px}.field input,.list-toolbar input{height:38px;border:1px solid #cad6cd;border-radius:5px;padding:0 11px;background:white;outline-color:#26785e;color:#1b2421}.file-pick{height:38px;min-width:110px;border:1px solid #b9c9be;border-radius:5px;display:grid;place-items:center;padding:0 13px;color:#225a45;font-weight:600;cursor:pointer}.file-pick:hover{background:#f0f6f1}.file-pick input{position:absolute;width:1px;height:1px;opacity:0}.selected-files,.status{color:#617068;font-size:12px;margin-top:10px}.selected-files:empty,.status:empty{display:none}.status.error{color:#af3a30}
.list-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:11px}.list-toolbar h2{font-size:17px}.list-toolbar input{width:min(240px,48%)}.file-list{background:#fff;border:1px solid #e1e8e3;border-radius:7px;overflow:hidden}.file-row{display:grid;grid-template-columns:42px minmax(0,1fr) 90px 105px 100px;align-items:center;gap:12px;min-height:64px;padding:8px 16px;border-bottom:1px solid #edf0ed}.file-row:last-child{border-bottom:0}.file-icon{width:38px;height:38px;background:#e7eee9;border-radius:4px;display:grid;place-items:center;color:#2c6d55;font-size:11px;font-weight:700}.file-icon.image{background:#edf1f8;color:#3b5c83}.file-icon.pdf{background:#faece8;color:#a34a39}.file-main{min-width:0}.file-name{display:block;max-width:100%;border:0;background:none;padding:0;text-align:left;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#26382e}.file-name:hover{text-decoration:underline;color:#176346}.file-sub{font-size:12px;color:#7a867e;margin-top:4px}.file-size,.file-date{color:#65736a;font-size:12px}.row-actions{display:flex;justify-content:flex-end;gap:2px}.row-actions button,.row-actions a{border:0;background:transparent;color:#29664e;padding:8px 6px;font-size:12px;text-decoration:none}.row-actions button:hover,.row-actions a:hover{text-decoration:underline}.row-actions .delete{color:#9e4b42}.empty{border:1px dashed #cbd8ce;border-radius:6px;padding:38px;text-align:center;color:#7c8880;background:#fff}.load-more{display:block;margin:16px auto;border:1px solid #cbd8ce;border-radius:5px;background:white;color:#315f49;padding:8px 18px}.load-more[hidden]{display:none}
.preview-dialog{width:min(850px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:0;border:1px solid #d8e1d9;border-radius:7px;box-shadow:0 16px 50px #20332933}.preview-dialog::backdrop{background:#11251c99}.preview-head,.preview-actions{padding:14px 17px;display:flex;justify-content:space-between;align-items:center;gap:14px}.preview-head{border-bottom:1px solid #e2e9e3}.preview-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-actions{border-top:1px solid #e2e9e3;justify-content:flex-end}.preview-body{padding:16px;overflow:auto;max-height:calc(100vh - 170px);min-height:90px;background:#fafbfa}.preview-body img{display:block;max-width:100%;max-height:calc(100vh - 215px);margin:auto;object-fit:contain}.preview-body pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0;font:13px/1.6 Consolas,"Microsoft YaHei",monospace}.link-button{display:inline-grid;place-items:center;text-decoration:none}
[hidden]{display:none!important}
.folder-heading{display:flex;align-items:center;justify-content:space-between;gap:5px}.folder-heading h2{margin:0}.folder-heading .quiet{font-size:12px;white-space:nowrap}.folder-list{margin-top:10px}.folder-item{display:flex;align-items:center;min-width:0}.folder{flex:1;min-width:0}.folder-delete{border:0;background:transparent;color:#9e4b42;width:28px;height:32px;flex:none;font-size:19px;line-height:1}.folder-delete:hover{background:#faece8}.field select{height:38px;border:1px solid #cad6cd;border-radius:5px;padding:0 11px;background:white;outline-color:#26785e;color:#1b2421}.folder-dialog{width:min(380px,calc(100vw - 32px));border:1px solid #d8e1d9;border-radius:7px;padding:22px}.folder-dialog::backdrop{background:#11251c99}.folder-dialog h2{margin-bottom:18px}.folder-dialog label{display:block;margin-bottom:6px}.folder-dialog input{height:40px;width:100%;padding:0 10px;border:1px solid #cad6cd;border-radius:5px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}
@media(max-width:760px){.brand{font-size:14px;min-width:0}.brand span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-list{margin-top:10px}.folder-item{flex:none}.folder{width:auto;flex:none}.folder-delete{width:28px}}
@media(max-width:760px){.topbar{padding:0 16px}.quota{display:none}.workspace-head{padding:24px 16px 16px}.workspace{display:block;padding:0 16px 32px}.sidebar{padding:0;border:0;margin-bottom:20px}.sidebar h2{margin-bottom:8px}.folder-list{display:flex;overflow:auto;gap:5px;padding-bottom:5px}.folder{width:auto;flex:none;padding:7px 11px}.upload-panel{padding:16px}.upload-title{display:block}.upload-title span{display:block;margin-top:6px}.upload-controls{display:grid;grid-template-columns:1fr 1fr}.folder-field{grid-column:1/-1}.file-pick{min-width:0}.list-toolbar input{width:45%}.file-row{grid-template-columns:38px minmax(0,1fr) 72px;gap:9px;padding:8px 11px}.file-size,.file-date{display:none}.row-actions{gap:0}.row-actions button,.row-actions a{padding:7px 4px;font-size:11px}.file-sub{font-size:11px}}
