:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#242930;background:#f7f8fa;font-size:14px;line-height:1.5;font-synthesis:none;--line:#e4e7ec;--muted:#747b87;--blue:#2464d6;--red:#c23540;--green:#218366}
*{box-sizing:border-box;letter-spacing:0}body{margin:0}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:white;border:1px solid #d9dee6;border-radius:5px;min-height:34px;padding:6px 12px;color:inherit;white-space:nowrap}button:hover{background:#f0f3f7}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--blue);border-color:var(--blue);color:white}button.primary:hover{background:#1853bd}button.danger{color:var(--red)}button.icon{width:34px;min-width:34px;padding:7px}button.quiet{border-color:transparent;background:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #4382ec;outline-offset:2px}svg{width:17px;height:17px;flex:none;stroke-width:1.7}input,select,textarea{border:1px solid #d9dee6;border-radius:5px;min-height:36px;background:#fff;color:inherit;padding:7px 10px;max-width:100%;min-width:0}input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px;min-height:16px;padding:0;cursor:pointer;flex:none}label{display:flex;flex-direction:column;gap:7px;font-size:13px}label.check{flex-direction:row;align-items:center;white-space:nowrap;gap:6px}h1,h2,h3,p{margin:0}h1{font-size:18px;font-weight:650}h2{font-size:17px}h3{font-size:14px}a{color:var(--blue)}[hidden]{display:none!important}.muted{color:var(--muted);font-size:12px}.error{color:var(--red);white-space:pre-wrap;overflow-wrap:anywhere}.success{color:var(--green)}.mono{font-family:Consolas,monospace;overflow-wrap:anywhere}.grow{flex:1;min-width:0}.row{display:flex;align-items:center;gap:10px}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:16px}.workspace{display:grid;grid-template-columns:216px minmax(0,1fr);height:100dvh;min-height:400px}.sidebar{border-right:1px solid var(--line);padding:22px 14px 12px;background:#f3f5f8;display:flex;flex-direction:column;min-width:0;gap:12px}.brand{display:flex;gap:10px;align-items:center;padding:0 8px 22px;font-size:16px}.brand>svg{color:var(--blue);width:24px;height:24px}.site-label{font-size:11px;color:var(--muted);padding-left:8px}.sidebar>select{width:100%;font-size:12px}.sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:10px}.sidebar nav button{justify-content:flex-start;min-height:40px;border:0;background:transparent;padding:10px 12px;position:relative;font-size:13px}.sidebar nav button.active{color:#1b59c4;background:#e3ecfc;font-weight:600}.sidebar nav b{font-size:11px;line-height:17px;min-width:18px;text-align:center;background:var(--blue);color:#fff;border-radius:4px;margin-left:auto}.account{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:15px;border-top:1px solid var(--line);font-size:12px}.account>span{overflow:hidden;text-overflow:ellipsis;flex:1}.account>button{background:transparent;border:0}.work-area{display:flex;flex-direction:column;overflow:hidden;background:white}.page-head{display:flex;align-items:center;gap:16px;padding:18px 26px;border-bottom:1px solid var(--line);min-height:71px}.page-head>span{font-size:12px;color:var(--muted);flex:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.page{display:flex;flex-direction:column;min-height:0;flex:1;position:relative}.pathbar{display:flex;align-items:center;gap:5px;padding:13px 22px 7px}.breadcrumbs{display:flex;align-items:center;gap:3px;min-width:0;overflow-x:auto;white-space:nowrap}.breadcrumbs button{font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis;display:block;padding:6px 7px;border:0;flex-shrink:0}.breadcrumbs button:last-child{font-weight:600;background:#f1f4f8}.breadcrumbs>svg{width:12px;color:#9aa2af}.toolbar{padding:8px 26px 14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.search{display:flex;align-items:center;position:relative;flex:1;min-width:150px;max-width:300px;margin-left:auto}.search input{padding-left:33px;width:100%;font-size:12px}.search svg{position:absolute;left:10px;color:var(--muted)}.toolbar label{font-size:12px;color:#626c79}.table-wrap{flex:1;overflow:auto;padding:0 26px;min-height:150px}.files-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.files-table th{text-align:left;position:sticky;top:0;z-index:1;background:#f7f8fa;border-bottom:1px solid var(--line);height:36px;font-size:12px;color:#6f7886;font-weight:500;padding:0 10px}.files-table th button{background:none;border:0;font-size:12px;padding:4px 0;color:inherit;min-height:30px}.files-table td{padding:7px 10px;border-bottom:1px solid #eef0f4;height:49px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-table.compact td{height:38px;padding:3px 10px}.files-table tr:hover td{background:#f7f9fc}.files-table tr.selected td{background:#edf3fe}.files-table tr.highlight td{background:#e5f5ed}.files-table th:first-child,.files-table td:first-child{width:34px;padding-left:8px;padding-right:4px}.files-table .name-cell{width:auto}.files-table .size-cell{width:108px;text-align:right}.files-table .date-cell{width:165px}.files-table .perm-cell{width:80px}.files-table .actions-cell{width:50px;text-align:right}.file-name{display:flex;align-items:center;gap:11px;width:100%;min-width:0}.file-name>svg{width:20px;height:20px;color:#8190a4}.file-name.folder>svg{color:#bb8a20;fill:#f8e8b5;stroke:#ae852c}.file-name.archive>svg{color:#8b63b7}.file-name.image>svg{color:#318c75}.file-name button{min-width:0;display:block;border:0;background:transparent;padding:3px 0;overflow:hidden;text-overflow:ellipsis;text-align:left;white-space:nowrap;max-width:100%;font-weight:500}.mobile-meta{display:none}.table-footer{display:flex;align-items:center;gap:7px;min-height:50px;border-top:1px solid var(--line);padding:8px 26px;font-size:12px;color:#697382}.table-footer .grow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-bar{display:flex;align-items:center;gap:8px;background:#edf3fe;border-bottom:1px solid #d5e3fa;padding:9px 26px;font-size:12px;flex-wrap:wrap}.selection-bar .count{margin-right:8px;color:#245db6;font-weight:600}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:55px 20px;color:var(--muted);text-align:center;min-height:180px}.empty>svg{width:38px;height:38px;color:#b1bdcd}.empty p{max-width:520px;overflow-wrap:anywhere}.error-box{padding:16px 26px;background:#fff4f4;border-bottom:1px solid #f3d4d7;color:var(--red);font-size:13px;display:flex;gap:10px;align-items:center}.drop-shade{position:absolute;inset:8px;z-index:10;border:2px dashed var(--blue);background:#edf4fff0;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--blue);pointer-events:none}.content-scroll{overflow:auto;padding:24px 26px;flex:1}.section-top{display:flex;align-items:center;gap:10px;margin-bottom:22px;flex-wrap:wrap}.section-top p{color:var(--muted);font-size:12px}.tools-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;max-width:1100px}.tool-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:24px 0;min-width:0}.tool-row>svg{width:24px;height:24px;color:#566579}.tool-row h3{margin-bottom:5px}.tool-row p{font-size:12px;color:var(--muted)}.tool-row button{flex:none}.task-row{border-bottom:1px solid var(--line);padding:18px 0;display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:11px;align-items:start}.task-row>svg{margin-top:3px;color:#667589}.task-name{font-size:13px;font-weight:600;overflow-wrap:anywhere}.task-sub{color:var(--muted);font-size:12px;margin-top:4px;overflow-wrap:anywhere}.task-status{font-size:12px;color:var(--muted);white-space:nowrap}.task-status.done{color:var(--green)}.task-status.failed{color:var(--red)}.task-row .progress{margin:9px 0 4px}.task-actions{display:flex;gap:5px;margin-top:9px;flex-wrap:wrap}.task-actions button{font-size:12px;min-height:29px;padding:3px 8px}.progress{height:5px;border-radius:3px;background:#e9eef5;overflow:hidden}.progress span{display:block;height:100%;background:var(--blue);transition:width .2s}.progress.done span{background:var(--green)}.progress.indeterminate span{width:28%;animation:progress-slide 1.4s ease-in-out infinite}.progress.failed span{background:var(--red)}@keyframes progress-slide{from{transform:translateX(-100%)}to{transform:translateX(450%)}}.modal-overlay{position:fixed;inset:0;background:#1b233847;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.dialog{background:white;border-radius:8px;width:520px;max-width:100%;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;box-shadow:0 12px 48px #18233822}.dialog.wide{width:850px}.dialog-header{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:16px 20px}.dialog-header h2{flex:1}.dialog-body{padding:20px;overflow:auto;min-height:0}.dialog-footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--line);flex-wrap:wrap}.dialog .error{font-size:12px}.dialog-body>.error:empty{display:none}.dialog textarea{width:100%;font-family:Consolas,monospace;font-size:12px;line-height:1.65;min-height:320px;resize:vertical}.property-list{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;font-size:13px}.property-list dt{color:var(--muted)}.property-list dd{margin:0;overflow-wrap:anywhere}.preview-image{display:block;max-width:100%;max-height:55vh;object-fit:contain;margin:auto;background:#f7f8fa}.picker-path{font-size:12px;color:var(--muted);overflow-wrap:anywhere;padding-bottom:10px}.picker-list{max-height:300px;overflow:auto;border-top:1px solid var(--line)}.picker-item{width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;justify-content:flex-start;min-height:42px;text-align:left;white-space:normal;overflow-wrap:anywhere}.picker-item>span{flex:1;text-align:left;min-width:0}.upload-files{max-height:260px;overflow:auto}.upload-file{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0;font-size:12px}.upload-file>span{flex:1;min-width:0;overflow-wrap:anywhere}.result-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.result-table td,.result-table th{text-align:left;border-bottom:1px solid var(--line);padding:9px 7px;overflow-wrap:anywhere}.result-table th{color:var(--muted);font-weight:500}.result-summary{display:flex;gap:22px;padding:6px 0 20px;flex-wrap:wrap}.result-summary strong{font-size:22px;display:block}.result-summary span{font-size:12px;color:var(--muted)}.notice{border-left:3px solid #d9a634;padding:9px 12px;background:#fffbf0;font-size:12px;color:#796427;overflow-wrap:anywhere}.drawer-shade{position:fixed;inset:0;background:#1b233826;z-index:90}.drawer{position:fixed;right:0;top:0;bottom:0;background:white;width:440px;max-width:100%;border-left:1px solid var(--line);display:flex;flex-direction:column;box-shadow:-8px 0 32px #1c2b4615}.drawer-content{overflow:auto;padding:0 22px 20px;flex:1}.toast-region{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:200;display:flex;flex-direction:column;gap:8px;max-width:min(520px,90vw);pointer-events:none}.toast-message{padding:10px 18px;background:#2c3440;color:white;border-radius:6px;box-shadow:0 3px 14px #1b263326;font-size:13px;overflow-wrap:anywhere}.toast-message.bad{background:#a52c37}.menu{position:fixed;z-index:150;background:white;border:1px solid var(--line);box-shadow:0 6px 22px #18273922;border-radius:6px;width:176px;padding:5px}.menu button{width:100%;border:0;justify-content:flex-start;font-size:13px;min-height:35px}.menu hr{border:0;border-top:1px solid var(--line);margin:4px}.login-screen{min-height:100dvh;display:grid;place-items:center;background:#f4f6f9;padding:25px}.login-form{width:340px;max-width:100%;display:flex;flex-direction:column;gap:20px}.login-form h1{text-align:center;font-size:24px;margin-bottom:12px}.login-form input{height:43px}.login-form>button{height:42px}.brandmark{width:52px;height:52px;border-radius:8px;background:#e0eafe;color:var(--blue);display:grid;place-items:center;align-self:center}.brandmark svg{width:28px;height:28px}.login-form .error:empty{display:none}
@media(min-width:1600px){.table-wrap{padding-left:32px;padding-right:32px}.toolbar,.table-footer{padding-left:32px;padding-right:32px}.workspace{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:900px){.workspace{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.brand{font-size:14px;gap:7px}.toolbar,.table-wrap,.table-footer,.content-scroll{padding-left:17px;padding-right:17px}.toolbar .check{font-size:11px}.date-cell{display:none}.tools-list{grid-template-columns:1fr}.files-table .size-cell{width:90px}.page-head{padding-left:18px;padding-right:18px}.pathbar{padding-left:12px}.toolbar .search{max-width:none}.perm-cell{display:none}}
@media(max-width:620px){.workspace{display:flex;flex-direction:column;height:100dvh}.sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 12px 0;gap:6px;border:0;border-bottom:1px solid var(--line)}.sidebar .brand,.site-label,.account>svg,.account>span{display:none}.sidebar>select{grid-column:1;grid-row:1;height:38px;max-width:100%}.account{grid-column:2;grid-row:1;margin:0;border:0;padding:0}.account button{width:40px;height:40px}.sidebar nav{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,1fr);margin:0;gap:2px}.sidebar nav button{justify-content:center;flex-direction:column;font-size:11px;gap:3px;padding:8px 3px;border-radius:5px 5px 0 0;min-height:52px}.sidebar nav b{position:absolute;right:8px;top:3px;font-size:9px}.work-area{flex:1}.page-head{min-height:53px;padding:10px 14px;gap:10px}.page-head h1{font-size:16px}.page-head>span{font-size:11px}.pathbar{padding:9px 9px 4px}.breadcrumbs button{max-width:145px;font-size:12px}.toolbar{padding:7px 12px 10px;gap:6px}.toolbar button,.pathbar>.icon{min-height:40px}.toolbar .search{order:10;flex-basis:60%;min-width:140px}.toolbar>.check{order:11}.toolbar #density,.toolbar #permissions{display:none}.toolbar>.icon{margin-left:auto}.toolbar .search input{height:40px}.files-table td{height:62px;padding:8px 5px}.files-table .size-cell,.files-table .date-cell,.files-table .perm-cell{display:none}.files-table.compact td{height:62px}.table-wrap{padding:0 12px}.files-table th:first-child,.files-table td:first-child{width:32px;padding:0 4px}.files-table .actions-cell{width:42px}.file-name{gap:8px}.file-name button{font-size:13px;min-height:24px}.file-name>svg{width:21px;height:21px}.mobile-meta{display:block;font-size:10px;color:#85909e;margin-top:2px}.files-table .actions-cell button{min-height:42px;width:38px;border:0}.files-table input[type=checkbox]{width:18px;height:18px}.table-footer{padding:8px 12px;font-size:11px}.table-footer button{width:38px;min-height:40px}.table-footer .page-size{display:none}.selection-bar{padding:9px 12px;gap:5px}.selection-bar button{font-size:11px;padding:7px 8px;min-height:38px}.selection-bar .count{width:100%}.content-scroll{padding:18px 15px}.tool-row{gap:10px;padding:20px 0}.tool-row p{font-size:11px}.tool-row>svg{width:21px}.tool-row>button{min-height:42px}.modal-overlay{padding:12px}.dialog{max-height:calc(100dvh - 24px)}.dialog-header{padding:13px 15px}.dialog-body{padding:16px}.dialog-footer{padding:12px 15px}.dialog-footer>button{min-height:42px}.dialog h2{font-size:16px}.dialog input,.dialog select{min-height:42px}.property-list{grid-template-columns:70px minmax(0,1fr);font-size:12px}.task-row{grid-template-columns:20px minmax(0,1fr);gap:9px}.task-status{grid-column:2;grid-row:2}.task-row .task-actions button{min-height:36px}.drawer{width:100%}.drawer-content{padding:0 16px}.result-table{font-size:11px}.result-table td{padding:8px 4px}.toast-region{bottom:16px}.picker-item{min-height:46px}}
.files-table td.actions-cell{padding-left:4px;padding-right:4px;text-overflow:clip}.file-name button.file-label{display:flex;gap:0;width:100%;justify-content:flex-start}.file-stem{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-ext{flex:none;max-width:90px;overflow:hidden;text-overflow:ellipsis}.file-name button.file-label .file-ext{white-space:nowrap}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
