:root{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;font-synthesis:none;color-scheme:light;--ink:#252433;--muted:#636276;--canvas:#f5f5f8;--surface:#fff;--line:#dedde7;--accent:#7052cc;--accent-hover:#5c3db6;--soft:#f0ebfc;--nav:#24222d;--green:#27674e;--green-bg:#ecf8f0;--amber:#80581c;--amber-bg:#fff4dc;--red:#a13e43;--red-bg:#fff0f0;color:var(--ink);background:var(--canvas);font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,input,textarea,select{border:1px solid #8f8ca4;border-radius:6px;min-height:40px;padding:8px 12px;background:var(--surface)}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}button:hover{background:#f1eff7;border-color:#8a819f}button:active{background:#e8e2f7}button:disabled{opacity:.45;cursor:default}button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}button.quiet-button{border-color:var(--line);background:transparent}.text-button{padding:5px 4px;min-height:32px;border:0;background:transparent;color:var(--muted);font-size:12px}.text-button:hover{color:var(--accent);background:var(--soft)}.small-button{min-height:34px;font-size:12px}.danger{color:var(--red)}a{color:var(--accent-hover);text-decoration:none}a:hover{text-decoration:underline}svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}input[type=checkbox]{min-height:0;width:16px;height:16px;margin:0;padding:0;accent-color:var(--accent);cursor:pointer;flex:none}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input,textarea{caret-color:var(--accent)}textarea{resize:vertical;line-height:1.7}::selection{color:#39236f;background:#e2d6ff}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.muted{color:var(--muted);font-size:12px}.spacer{flex:1}
.app-shell{display:grid;grid-template-columns:196px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:var(--nav);color:#eeecf3;padding:30px 16px 20px}.brand{display:flex;align-items:center;gap:11px;color:#fff;padding:0 8px;line-height:1.4;font-size:18px;font-weight:600}.brand:hover{text-decoration:none}.brand>svg{width:34px;height:34px;stroke:#fff}.brand rect{fill:#8b71dc;stroke:none}.brand path{stroke-width:2.5}.brand small{display:block;font-size:11px;color:#c2bdcf;font-weight:400;margin-top:6px}.main-nav{display:flex;flex-direction:column;gap:7px;margin-top:42px}.main-nav button,.settings-nav{justify-content:flex-start;width:100%;border:0;color:#c8c4d4;background:transparent;padding:11px 13px;min-height:45px;border-radius:7px;font-size:14px;gap:13px}.main-nav button:hover,.settings-nav:hover{background:#33303f;color:#fff}.main-nav button[aria-current],.settings-nav[aria-current]{color:#fff;background:#40384f;font-weight:600}.nav-badge{margin-left:auto;min-width:20px;line-height:20px;text-align:center;color:#302249;background:#dfd1ff;font-size:11px;border-radius:4px;font-weight:600}.sidebar-footer{margin-top:auto}.sidebar-footer p{display:flex;align-items:center;gap:7px;margin:24px 10px 9px;font-size:11px;color:#d1cddd}.sidebar-footer small{display:block;margin-left:10px;color:#c2bdcf;font-size:11px}.status-dot{height:6px;width:6px;border-radius:50%;background:#a0d5bb;flex:none}.status-dot.offline{background:#efba87}.sidebar button:focus-visible{outline-color:#c3aaff}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;height:72px;padding:0 32px;background:var(--surface);border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px}.breadcrumb strong{font-weight:500;color:var(--ink)}.topbar-actions{display:flex;gap:12px;align-items:center}.topbar-actions select{border:0;font-size:12px;min-height:34px;background:transparent}.workspace{padding:30px 32px 20px;max-width:1700px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:26px;line-height:1.35;letter-spacing:-.02em;margin:0;font-weight:650}.page-heading p{color:var(--muted);font-size:13px;line-height:1.7;margin:9px 0 0}.heading-actions,.toolbar-actions{display:flex;align-items:center;gap:10px}.library-tabs{display:flex;gap:25px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto}.library-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;min-height:43px;padding:8px 2px 12px;color:var(--muted);font-size:13px}.library-tabs button[aria-current]{border-bottom-color:var(--accent);font-weight:600;color:var(--accent-hover)}.library-tabs button span{font-size:11px;margin-left:3px}.filter-panel{background:#fff;border:1px solid var(--line);padding:16px;border-radius:10px;margin-bottom:24px}.filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.filter-row>label:not(.search-field){display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.filter-row select,.filter-row input{font-size:12px;min-height:36px;max-width:210px}.search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:200px;max-width:400px;border:1px solid #8f8ca4;border-radius:6px;padding-left:10px;color:var(--muted);background:#fff}.search-field svg{width:16px;height:16px}.search-field input{border:0;outline-offset:0;flex:1;min-width:0;width:100%;max-width:none;padding-left:0;min-height:36px}.filter-row .quiet-button{min-height:36px;font-size:12px;padding:7px 10px}.advanced{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.advanced input[type=number]{width:100px}.range-separator{font-size:12px;color:var(--muted)}.filter-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px;color:var(--accent-hover);font-size:12px}.filter-summary span{background:var(--soft);padding:4px 8px;border-radius:4px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 13px}.list-toolbar strong{font-size:13px;font-weight:500}.list-toolbar .muted{margin-left:10px}.compact-label{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.compact-label select{font-size:12px;min-height:34px;padding:6px 9px;max-width:230px}.export-button{background:#fff;border-color:#9083af;min-height:36px;font-size:12px;color:#4e387d}.selection-bar{display:flex;align-items:center;gap:12px;padding:12px 15px;background:var(--soft);border:1px solid #d8c8f5;border-radius:8px;margin-bottom:13px;flex-wrap:wrap}.selection-bar strong{color:var(--accent-hover);font-size:12px;margin-right:10px}.selection-bar button{font-size:12px;min-height:31px;padding:5px 10px;border-color:#b4a5d3}.selection-bar .text-button{margin-left:auto;border:0}.table-panel{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:auto;scrollbar-width:thin;scrollbar-color:#aaa1bc transparent}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;background:#f9f9fb;color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap;height:48px;position:sticky;top:0;z-index:1}td,th{padding:14px 14px;border-bottom:1px solid #e9e8ef;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfbff}tr.checked{background:#f7f3ff}.checkbox-cell{width:44px;padding-left:17px;padding-right:7px}.works-table{min-width:840px}.work-column{width:40%}.work-title{font-size:14px;line-height:1.65;font-weight:500;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:560px;text-align:left;background:transparent;border:0;padding:0;white-space:normal;min-height:0}.work-title:hover{background:transparent;color:var(--accent-hover);text-decoration:underline}.work-meta{display:flex;align-items:center;gap:8px;margin-top:7px;flex-wrap:wrap;color:var(--muted);font-size:12px}.author-button{padding:0;min-height:22px;border:0;background:transparent;color:var(--accent-hover);font-size:12px;text-align:left;white-space:normal}.author-button:hover{background:var(--soft)}.work-id{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.date-cell{white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.7}.date-cell small{display:block;color:var(--muted);font-size:11px}.numeric{text-align:right;font-variant-numeric:tabular-nums}.sort-heading{border:0;background:transparent;padding:0;min-height:28px;font-size:12px;color:inherit;gap:6px}.sort-heading svg{width:12px;height:14px}.sort-heading:hover{background:var(--soft);color:var(--accent-hover)}th[aria-sort]{color:var(--accent-hover);font-weight:600}.numeric .sort-heading{margin-left:auto}.row-action{width:60px}.row-more{border:0;background:transparent;min-height:32px;padding:5px;color:var(--muted)}.row-more svg{width:17px;height:17px}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:4px;padding:4px 7px;font-size:11px;line-height:1.4;background:#f0eff4;color:#585566}.badge.purple{color:#5a3a9e;background:#eee7fc}.badge.green{color:var(--green);background:var(--green-bg)}.badge.amber{color:var(--amber);background:var(--amber-bg)}.badge.red{color:var(--red);background:var(--red-bg)}.exported-note{display:block;font-size:11px;color:var(--muted);margin-top:5px}.empty-state{text-align:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:65px 24px;color:var(--muted)}.empty-state>svg{width:42px;height:42px;margin:auto;color:#767082;stroke-width:1.3}.empty-state h2{font-size:17px;font-weight:500;color:var(--ink);margin:18px 0 8px}.empty-state p{font-size:13px;line-height:1.7;margin:0 0 20px}.empty-state.compact{padding:35px 20px}.list-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:17px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.list-footer p{margin:0}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0}.pagination button,.pagination select{font-size:12px;min-height:32px;padding:5px 9px}.pagination span{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}.connection-banner{background:var(--amber-bg);color:var(--amber);padding:13px 32px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.connection-banner button{min-height:30px;font-size:12px;color:inherit;border-color:#ad8b52;background:transparent}footer{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);padding-top:22px;margin-top:30px;border-top:1px solid var(--line);line-height:1.7}
.account-management{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}.tree-panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px 10px;min-width:0;align-self:start;max-height:calc(100dvh - 235px);overflow:auto;scrollbar-width:thin;scrollbar-color:#b3a9c4 transparent}.tree-heading{display:flex;justify-content:space-between;align-items:center;padding:0 4px 11px;font-size:12px}.tree-panel>input{width:100%;font-size:12px;min-height:35px;margin:0 0 12px}.collection-row{display:flex;align-items:center;min-height:40px;border-radius:5px}.collection-row.current{background:var(--soft)}.collection-toggle{border:0;background:transparent;width:24px;min-height:36px;padding:5px;color:var(--muted)}.collection-toggle svg{width:13px;height:13px;transition:transform .15s}.collection-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.collection-button{display:flex;align-items:center;justify-content:flex-start;gap:6px;flex:1;min-width:0;padding:8px 5px 8px 0;min-height:36px;border:0;background:transparent;white-space:normal;text-align:left;font-size:12px}.collection-button:hover{background:transparent;color:var(--accent-hover)}.collection-button svg{width:15px;height:15px}.collection-button span{flex:1;overflow-wrap:anywhere;line-height:1.65}.collection-button small{color:var(--muted);font-size:11px}.collection-groups,.account-members{list-style:none;border-left:1px solid #d6d0e1;padding:2px 0 2px 7px;margin:3px 0 7px 11px}.collection-groups>li{margin-bottom:3px}.account-members{margin-left:10px}.tree-account{display:flex;align-items:center;justify-content:flex-start;gap:7px;width:100%;min-height:40px;border:0;white-space:normal;text-align:left;font-size:12px;background:transparent;padding:7px 4px}.tree-account span{overflow-wrap:anywhere;line-height:1.6}.tree-account .account-dot{width:22px;height:22px;display:grid;place-items:center;border-radius:4px;background:#ece7f6;color:#5b4387;flex:none;font-size:10px}.tree-empty{padding:10px 4px;color:var(--muted);font-size:12px;line-height:1.7}.scope-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px;flex-wrap:wrap}.scope-heading h2{font-size:17px;margin:0;line-height:1.65}.scope-heading p{margin:5px 0 0}.scope-heading button{font-size:12px;min-height:35px;padding:7px 10px}.account-bulk{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;font-size:12px;color:var(--muted)}.account-bulk label{display:flex;align-items:center;gap:8px}.account-bulk button{font-size:12px;min-height:30px;padding:4px 8px}.accounts-table{min-width:670px}.account-name{display:flex;align-items:center;gap:10px}.account-avatar{background:#ece7f6;color:#5b4387;width:32px;height:32px;border-radius:7px;display:grid;place-items:center;font-size:13px;flex:none}.account-name>div{min-width:100px}.account-name button{display:block;text-align:left;border:0;background:transparent;padding:0;min-height:22px;font-size:13px;font-weight:500;white-space:normal;overflow-wrap:anywhere}.account-name small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.account-main{min-width:0}.task-filter{display:flex;align-items:center;gap:15px;margin-bottom:18px;flex-wrap:wrap}.task-filter label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.task-filter select{min-height:34px;font-size:12px}.task-row{display:grid;grid-template-columns:minmax(200px,1.8fr) minmax(150px,1fr) minmax(160px,1fr) auto;align-items:center;gap:20px;padding:20px;background:#fff;border-bottom:1px solid var(--line)}.task-row:first-child{border-radius:10px 10px 0 0;border-top:1px solid var(--line)}.task-row:last-child{border-radius:0 0 10px 10px}.task-row:only-child{border-radius:10px}.task-row>div{min-width:0}.task-name{border:0;background:transparent;text-align:left;justify-content:flex-start;white-space:normal;font-size:14px;font-weight:500;min-height:24px;padding:0;line-height:1.7;overflow-wrap:anywhere}.task-name:hover{background:transparent;color:var(--accent-hover)}.task-row p{font-size:12px;line-height:1.7;color:var(--muted);margin:7px 0 0;overflow-wrap:anywhere}.task-row time{font-size:11px;color:var(--muted)}.task-actions{display:flex;gap:8px;flex-wrap:wrap}.task-actions button{min-height:32px;padding:5px 9px;font-size:12px}.task-empty{border:1px solid var(--line);border-radius:10px;background:#fff;padding:55px 24px;text-align:center;color:var(--muted);line-height:1.8}.task-empty strong{display:block;font-size:16px;color:var(--ink);font-weight:500;margin-bottom:8px}.settings-section{padding:25px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:20px}.settings-section h2{font-size:17px;margin:0 0 10px;font-weight:600}.settings-section p{font-size:13px;line-height:1.8;color:var(--muted);max-width:78ch}.settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:24px}.settings-grid label,.schedule-controls label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:var(--muted)}.settings-grid input{width:100%;min-width:0;font-size:13px}.schedule-controls{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:20px 0}.schedule-controls select{max-width:290px;font-size:13px}.schedule-controls button{font-size:12px}
.form-dialog{width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 48px);border:0;border-radius:12px;background:#fff;padding:28px;color:var(--ink);box-shadow:0 14px 50px #19122130;overflow:auto}.small-dialog{width:min(430px,calc(100% - 32px))}.form-dialog::backdrop,.drawer::backdrop{background:rgb(28 24 39 / .35)}.dialog-heading,.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.dialog-heading h2,.drawer-heading h2{font-size:20px;line-height:1.5;margin:0;font-weight:600}.dialog-description{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 20px}.field{display:flex;flex-direction:column;gap:9px;font-size:12px;color:var(--muted);margin:0 0 20px}.field input,.field select{width:100%;font-size:13px;color:var(--ink)}.import-file-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}.file-button{position:relative;display:inline-flex;align-items:center;justify-content:center;border:1px solid #8f8ca4;border-radius:6px;min-height:34px;padding:6px 11px;font-size:12px;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;width:100%;min-height:0;padding:0;cursor:pointer}.form-dialog textarea{width:100%;font-size:13px;margin-bottom:20px}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.dialog-actions button{font-size:13px}.form-error{padding:10px 12px;border-radius:5px;background:var(--red-bg);color:var(--red);font-size:12px;line-height:1.7}.preview-summary{display:flex;gap:15px;flex-wrap:wrap;padding:13px;background:#f5f3fa;border-radius:7px;font-size:12px;line-height:1.8}.preview-rows{max-height:180px;overflow:auto;margin-top:12px;font-size:12px}.preview-row{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);align-items:flex-start;line-height:1.7}.preview-row>span:last-child{min-width:0;overflow-wrap:anywhere;flex:1}.preview-row small{display:block;color:var(--muted);font-size:11px}.member-heading{display:flex;justify-content:space-between;align-items:center;margin:5px 0 12px;font-size:12px}.member-heading span{color:var(--muted)}#member-search{width:100%;font-size:13px;margin-bottom:10px}.collection-members{max-height:280px;overflow:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#b3a9c4 transparent}.member-option{display:flex;gap:12px;align-items:center;padding:12px 3px;cursor:pointer;border-bottom:1px solid #eeedf3}.member-option:last-child{border:0}.member-option span{min-width:0;flex:1}.member-option strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.member-option small{display:block;font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}.drawer{position:fixed;inset:0 0 0 auto;width:min(560px,100%);height:100dvh;max-height:100dvh;margin:0;padding:25px 28px;border:0;background:#fff;color:var(--ink);box-shadow:-10px 0 40px #19122118;overflow:auto}.drawer-heading{position:sticky;top:-25px;margin:0 -5px 24px;padding:8px 5px 15px;background:#fff;z-index:2;border-bottom:1px solid var(--line)}.detail-work-title{font-size:18px;font-weight:500;line-height:1.9;overflow-wrap:anywhere;margin:0 0 20px}.detail-list{display:grid;grid-template-columns:100px minmax(0,1fr);font-size:13px;gap:15px 20px;line-height:1.75;margin:20px 0 25px}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:anywhere}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.detail-actions button,.detail-actions a{min-height:38px;font-size:12px}.detail-actions a{display:inline-flex;align-items:center}.detail-section{border-top:1px solid var(--line);margin-top:25px;padding-top:22px}.detail-section h3{font-size:15px;margin:0 0 12px}.detail-notice{font-size:12px;line-height:1.8;color:var(--amber);background:var(--amber-bg);padding:13px;border-radius:7px;margin:20px 0}.detail-member{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.detail-member strong{font-size:13px;font-weight:500}.detail-member p{color:var(--muted);margin:5px 0 0}.detail-member .badge{margin-left:8px}.import-row-url{display:block;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.detail-pagination{margin-top:16px}.loader{padding:50px 24px;text-align:center;color:var(--muted);font-size:13px}#message{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);max-width:min(620px,calc(100% - 32px));background:#332b43;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 6px 25px #21182e26;z-index:30;font-size:13px;line-height:1.7}
@media(min-width:1600px){.workspace{padding:35px 42px}.topbar{padding:0 42px}}@media(max-width:1200px){.app-shell{grid-template-columns:174px minmax(0,1fr)}.sidebar{padding:26px 12px 20px}.workspace{padding:26px 22px 20px}.topbar{padding:0 22px}.account-management{grid-template-columns:216px minmax(0,1fr);gap:18px}.task-row{grid-template-columns:minmax(160px,1.6fr) minmax(120px,1fr) auto;gap:15px}.task-row .task-metric{grid-column:1/3;grid-row:2}.task-actions{grid-column:3;grid-row:1/3}.filter-row>label:not(.search-field){gap:6px}.filter-row select{max-width:170px}.list-footer{flex-wrap:wrap}.settings-grid{grid-template-columns:1fr 1fr}}@media(max-width:1000px){.account-management{display:block}.tree-panel{max-height:280px;margin-bottom:20px}.account-main .scope-heading{margin-top:20px}.filter-row .search-field{max-width:none;flex-basis:100%}.toolbar-actions{gap:8px}.pagination{margin-left:auto}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:15px 16px 0}.brand{font-size:17px;padding:0}.brand>svg{width:28px;height:28px}.brand small{display:none}.main-nav{flex-direction:row;margin-top:15px;gap:4px;overflow:auto}.main-nav button{justify-content:center;width:auto;flex:1;min-height:43px;padding:8px 12px;border-radius:6px 6px 0 0;font-size:13px;gap:7px}.main-nav svg{width:17px;height:17px}.nav-badge{margin-left:0}.sidebar-footer{position:absolute;top:12px;right:14px}.sidebar-footer .settings-nav{min-height:30px;padding:4px 8px;font-size:12px;gap:6px}.sidebar-footer svg{width:16px;height:16px}.sidebar-footer p,.sidebar-footer small{display:none}.topbar{height:56px;padding:0 17px;gap:8px}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 6px}.topbar-actions{gap:5px}.topbar-actions select{padding:4px;font-size:11px;max-width:100px}.topbar-actions .small-button{font-size:11px;padding:5px 8px}.workspace{padding:24px 16px 18px}.page-heading{align-items:flex-start;gap:15px;flex-wrap:wrap;margin-bottom:21px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.page-heading>button{margin-left:auto;font-size:12px;min-height:38px}.heading-actions{margin-left:auto}.heading-actions button{font-size:12px;min-height:36px}.library-tabs{gap:23px;margin-bottom:17px}.library-tabs button{font-size:12px;min-height:42px}.filter-panel{padding:12px;margin-bottom:20px}.filter-row{gap:10px}.filter-row>label:not(.search-field){flex:1;min-width:0;flex-direction:column;align-items:stretch;gap:6px}.filter-row select{max-width:none;width:100%;min-width:0}.filter-row input[type=date]{max-width:140px;font-size:12px}.filter-row .quiet-button{font-size:11px;min-height:34px}.filter-row .text-button{min-height:34px}.filter-row .search-field{flex-basis:100%;min-width:0}.filter-row .advanced{align-items:flex-end}.advanced .range-separator{align-self:center}.advanced>label{min-width:130px!important}.advanced>input[type=date]{flex:1}.list-toolbar{align-items:flex-start;gap:12px;flex-wrap:wrap}.list-toolbar>div:first-child{display:flex;align-items:center;flex-wrap:wrap;min-height:32px}.list-toolbar .toolbar-actions{margin-left:auto}.compact-label{font-size:11px;gap:5px}.compact-label select{max-width:190px;font-size:11px}.export-button{font-size:11px;padding:6px 9px;min-height:34px}.works-table{min-width:730px}td,th{padding:12px 11px}.work-column{width:270px;min-width:270px}.work-title{font-size:13px}.work-meta{font-size:11px;gap:6px}.checkbox-cell{padding-left:13px;width:37px}.selection-bar{gap:8px;padding:11px}.selection-bar strong{width:100%;margin:0}.selection-bar button{min-height:34px;font-size:11px}.selection-bar .text-button{margin-left:0}.list-footer{align-items:flex-start;flex-direction:column;gap:13px;font-size:11px}.pagination{gap:8px;align-self:flex-end}.pagination select{max-width:100px}.table-panel{border-radius:8px}.tree-panel{max-height:300px}.task-row{padding:17px 14px;grid-template-columns:minmax(0,1fr) auto;gap:13px}.task-row>div:first-child{grid-column:1;grid-row:1}.task-row>div:nth-child(2){grid-column:2;grid-row:1;align-self:start}.task-row .task-metric{grid-column:1/-1;grid-row:2}.task-actions{grid-column:1/-1;grid-row:3}.task-name{font-size:13px}.task-row p{font-size:11px}.task-filter{gap:12px}.scope-heading .toolbar-actions{flex-wrap:wrap}.scope-heading button{min-height:36px}.settings-section{padding:20px 16px}.settings-section h2{font-size:16px}.settings-grid{gap:18px 12px}.settings-grid label{font-size:11px}.settings-grid input{font-size:12px;padding:8px;min-width:0}.schedule-controls{gap:14px}.schedule-controls label{flex:1;min-width:130px}.schedule-controls select{width:100%;max-width:100%;font-size:12px}.form-dialog{padding:23px 19px;max-height:calc(100dvh - 28px)}.dialog-heading h2{font-size:18px}.dialog-description{font-size:12px}.drawer{padding:22px 20px}.drawer-heading{top:-22px}.detail-list{grid-template-columns:85px minmax(0,1fr);gap:14px 12px;font-size:12px}.dialog-actions{gap:8px}.dialog-actions button{font-size:12px;min-height:40px}.connection-banner{padding:11px 16px;font-size:11px}.connection-banner button{font-size:11px}footer{font-size:10px;gap:12px;flex-wrap:wrap}.empty-state{padding:45px 18px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading h2{margin:0}.backup-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--line)}.backup-row strong{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.backup-row p{margin:6px 0 0;color:var(--muted)}#backup-result:empty{display:none}#backup-section details{margin-top:16px}#backup-section summary{cursor:pointer;color:var(--accent)}@media(max-width:600px){.backup-row{align-items:flex-start;flex-direction:column;gap:10px}.backup-row .toolbar-actions{width:100%;justify-content:flex-end}}
.import-detail-note{margin-top:14px}th[aria-sort=ascending] .sort-down,th[aria-sort=descending] .sort-up{opacity:.22}body:has(dialog[open]){overflow:hidden}

.mobile-page-select{display:none}.accounts-table th:nth-child(3){text-align:right}
@media(max-width:760px){
 .mobile-page-select{display:inline-flex;align-items:center;gap:6px;margin-left:13px;color:var(--muted);font-size:11px}
 .works-table,.accounts-table{display:block;min-width:0;width:100%}.works-table thead,.accounts-table thead{display:none}.works-table tbody,.accounts-table tbody{display:block}
 .works-table tr{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:12px 9px;padding:17px 13px;border-bottom:1px solid var(--line)}.works-table tr:last-child,.accounts-table tr:last-child{border-bottom:0}.works-table td,.accounts-table td{display:block;padding:0;border:0;min-width:0}
 .works-table td:nth-child(1){grid-column:1;grid-row:1/4;align-self:start;padding-top:3px}.works-table td:nth-child(2){grid-column:2/-1;grid-row:1}.works-table td:nth-child(3){grid-column:2;grid-row:2;font-size:11px}.works-table td:nth-child(3)::before{content:"发布 ";color:var(--muted)}.works-table .date-cell small{display:inline;margin-left:5px;font-size:10px}.works-table td:nth-child(4){grid-column:3;grid-row:2;font-size:11px}.works-table td:nth-child(4)::before{content:"点赞 ";color:var(--muted)}.works-table td:nth-child(5){display:none}.works-table td:nth-child(6){grid-column:2;grid-row:3;align-self:center}.works-table td:nth-child(7){grid-column:3;grid-row:3;justify-self:end}.works-table .work-id{display:none}.works-table .work-title{font-size:14px;max-width:none}.works-table .work-meta{margin-top:8px}.works-table .row-more{min-height:30px}.works-table .exported-note{display:inline;margin-left:8px}
 .accounts-table tr{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:12px 9px;padding:16px 13px;border-bottom:1px solid var(--line)}.accounts-table td:nth-child(1){grid-column:1;grid-row:1/4;padding-top:6px}.accounts-table td:nth-child(2){grid-column:2/-1}.accounts-table td:nth-child(3){grid-column:2;grid-row:2;text-align:left;font-size:12px}.accounts-table td:nth-child(3)::before{content:"已记录 ";color:var(--muted)}.accounts-table td:nth-child(3)::after{content:" 条作品";color:var(--muted)}.accounts-table td:nth-child(4){grid-column:2;grid-row:3}.accounts-table td:nth-child(5){grid-column:2/-1;grid-row:4;font-size:11px}.accounts-table td:nth-child(5)::before{content:"最近采集 ";color:var(--muted)}.accounts-table td:nth-child(5) small{display:inline;margin-left:7px}.accounts-table td:nth-child(6){grid-column:3;grid-row:2/4;align-self:center}.accounts-table .account-name>div{min-width:0}.accounts-table .account-name button{font-size:14px}
}

/* Static video covers: stable rows, lazy thumbnails, complete image in details. */
.work-summary{display:flex;align-items:flex-start;gap:12px;min-width:0}.work-copy{flex:1;min-width:0}.cover-button{flex:none;border:0;padding:0;min-height:0;width:64px;background:transparent;border-radius:6px}.cover-button:hover{background:transparent}.work-cover{display:flex;align-items:center;justify-content:center;position:relative;flex:none;width:64px;height:86px;border:1px solid #dedbe7;border-radius:6px;background:#f3f1f7;color:#655e74;overflow:hidden;text-align:center}.work-cover img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cover-placeholder{font-size:11px;line-height:1.5;padding:3px;white-space:nowrap}.work-cover.has-image .cover-placeholder{display:none}.detail-cover{width:240px;max-width:100%;height:320px;margin:0 auto 22px}.detail-cover img{object-fit:contain}.work-copy .work-id{overflow-wrap:anywhere}.data-table.works .work-copy>button{width:100%;text-align:left}.data-table.works .cover-button{width:64px;min-height:0;padding:0;border:0}.work-item.work-summary>p{margin:0}.work-item.work-summary .work-copy p{margin-top:0}
@media(max-width:760px){.work-summary{gap:10px}.cover-button,.data-table.works .cover-button{width:56px}.work-cover:not(.detail-cover){width:56px;height:76px}.detail-cover{width:210px;height:280px}}
/* Unified workbench: directory, copy actions and persistent account settings. */
.works-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}.works-content{min-width:0}.works-directory{position:sticky;top:16px;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:14px 10px;max-height:calc(100dvh - 36px);overflow:auto;scrollbar-width:thin}.works-directory>summary{cursor:pointer;font-weight:600;padding:0 4px 12px}.works-directory>input{width:100%;min-width:0;margin-bottom:12px}.works-directory .collection-groups{padding-left:12px}.works-directory .account-members{padding-left:22px}.works-directory .collection-button>span{overflow-wrap:anywhere}.works-directory .tree-account>span:last-child{white-space:normal;overflow-wrap:anywhere}.works-content .list-toolbar{align-items:flex-start;gap:12px;flex-wrap:wrap}.works-content .toolbar-actions{flex-wrap:wrap;gap:8px}.copy-actions{display:flex;gap:6px}.selection-bar{position:sticky;top:8px;z-index:3;flex-wrap:wrap}.account-config-dialog{width:min(600px,calc(100vw - 24px));padding:0}.account-config-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 40px);min-height:0}.account-config-dialog .dialog-heading,.account-config-dialog .dialog-actions{padding:18px 24px;margin:0;flex:none}.account-config-dialog .dialog-heading{border-bottom:1px solid var(--line)}.account-config-dialog .dialog-actions{border-top:1px solid var(--line)}.account-form-body{overflow:auto;padding:0 24px 20px;min-height:0}.config-collections{margin:18px 0;border:0;padding:0;min-width:0}.config-collections legend{font-weight:600;margin-bottom:10px}.config-collections #config-collections{max-height:170px;overflow:auto;display:grid;gap:8px}.config-collections label{display:flex;align-items:flex-start;gap:9px;line-height:1.6;padding:3px 0}.config-collections label span{overflow-wrap:anywhere;min-width:0}.config-collections input[type=checkbox],.config-collect input{width:16px;height:16px;min-height:16px;flex:none;margin:4px 0}.inline-create{display:flex;gap:8px;margin-top:12px}.inline-create input{min-width:0;flex:1}.config-bounds{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.config-bounds summary{font-weight:600;cursor:pointer;margin-bottom:14px}.config-bounds .settings-grid{grid-template-columns:1fr 1fr;gap:12px}.config-bounds label{display:flex;flex-direction:column;gap:6px}.config-bounds input,.config-bounds select{width:100%;min-width:0}.config-collect{display:flex;align-items:center;gap:8px;margin:16px 0}#copy-content{width:100%;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.works-table{table-layout:fixed}.works-table .work-column{width:auto}.works-table .checkbox-cell{width:42px}.works-table th:nth-child(3),.works-table th:nth-child(5){width:100px}.works-table th:nth-child(4){width:72px}.works-table th:nth-child(6){width:88px}.works-table th:nth-child(7){width:52px}
@media(max-width:1350px){.works-layout{grid-template-columns:1fr}.works-directory{position:static;max-height:340px}.works-directory>summary{padding-bottom:4px}.works-directory>input{margin-top:10px}.works-directory .collection-root{max-width:480px}}
@media(max-width:760px){.works-content .list-toolbar{display:flex;flex-direction:column;align-items:stretch}.works-content .toolbar-actions{justify-content:flex-start}.copy-actions button{min-height:44px}.selection-bar{top:0}.account-config-dialog .dialog-heading,.account-config-dialog .dialog-actions{padding:14px 18px}.account-form-body{padding:0 18px 18px}.config-bounds .settings-grid{grid-template-columns:1fr 1fr}.topbar-actions{flex-wrap:wrap}.works-table th:nth-child(n){width:auto}.works-directory{max-height:360px}.mobile-page-select{white-space:nowrap}.mobile-page-select input[type=checkbox]{width:16px;min-height:16px;flex:none}}

.cover-coverage{display:inline-block;margin-left:12px;font-size:12px}.cover-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:14px 16px;margin-bottom:14px}.cover-progress strong{margin-right:12px}.cover-progress p{margin:6px 0 0;color:var(--muted)}@media(max-width:760px){.cover-progress{align-items:flex-start;flex-wrap:wrap}.cover-coverage{margin-left:8px}}
.operation-result{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 16px;margin:0 0 24px;background:var(--soft);border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.7}.operation-result p{margin:3px 0;color:var(--muted);font-size:13px}.operation-result .toolbar-actions{flex-wrap:wrap}.task-row .task-name{overflow-wrap:anywhere}.task-filter:has(+ #task-list[hidden] ~ #export-list:not([hidden])){display:none}@media(max-width:760px){#task-tabs{gap:18px;overflow:auto;white-space:nowrap}.operation-result{padding:14px;margin-bottom:20px}.operation-result .toolbar-actions{gap:8px}.operation-result button{min-height:44px}}
