*{box-sizing:border-box}
:root{color-scheme:light;--ink:#20352f;--muted:#607169;--line:#d5dfd9;--green:#145b49;--paper:#f5f7f4;font-family:Inter,"Microsoft YaHei UI","PingFang SC",sans-serif;color:var(--ink);background:var(--paper)}
body{margin:0;line-height:1.55}a{color:inherit;text-decoration:none}input,select,button,textarea{font:inherit;color:inherit}button,select{cursor:pointer}button:disabled{cursor:default}button{border:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #319276;outline-offset:2px}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.skip{position:fixed;top:-100px;left:10px;background:#fff;padding:6px;z-index:5}.skip:focus{top:4px}
#app-layout{min-height:100vh;display:grid;grid-template-columns:216px minmax(0,1fr)}.rail{background:#f7faf6;border-right:1px solid var(--line);padding:0 16px;display:flex;flex-direction:column}.brand,.rail nav a,.rail-bottom,.identity,.crumb,.topbar,.heading,.folder-title,.primary,.secondary,.tools,.search,.status-filter,.dir-tabs,.name-cell,.cell-person,.flow-status{display:flex;align-items:center}.brand{height:74px;gap:9px;font-size:18px;font-weight:800;letter-spacing:-.055em;white-space:nowrap}.brand-icon{background:#184e40;color:#f0d9a6;border-radius:8px;width:34px;height:34px;display:grid;place-items:center}.di{display:block;width:18px;height:18px;flex-shrink:0}.brand-icon .di{width:22px;height:22px}.rail-label{margin:32px 10px 9px;font-size:11px;font-weight:650;color:#75847b}.rail nav{display:grid;gap:5px}.rail nav a{gap:10px;padding:10px;border-radius:7px;font-size:14px;color:#536a5e}.rail nav a[aria-current]{background:#deece2;color:#205c43;font-weight:700}.rail nav a:hover{background:#e8f0e9}.count{margin-left:auto;font-size:11px;font-weight:650;background:#e5eae5;padding:0 7px;border-radius:8px}.rail-bottom{margin-top:auto;gap:8px;padding:22px 8px;color:var(--muted);font-size:12px}.rail-bottom .di{width:15px}
.work-area{min-width:0}.topbar{height:65px;background:white;border-bottom:1px solid var(--line);padding:0 clamp(20px,3.4vw,58px);justify-content:space-between;gap:14px}.crumb{font-size:13px;gap:10px;color:#627669;min-width:0}.crumb a:hover,.back-link:hover{text-decoration:underline}.crumb span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.identity{font-size:12px;color:var(--muted);gap:8px;white-space:nowrap}.identity select,.status-filter select{border:1px solid var(--line);border-radius:6px;padding:6px 9px;background:#fff;font-size:13px;color:var(--ink)}
main{max-width:1620px;margin:auto;padding:clamp(22px,3.2vw,50px);outline:none}.heading{justify-content:space-between;gap:15px;margin-bottom:23px}.heading h1{font-size:clamp(25px,2.6vw,39px);line-height:1.3;letter-spacing:-.06em}.heading p{font-size:13px;color:var(--muted);margin-top:4px}.primary,.secondary{justify-content:center;gap:7px;border-radius:7px;font-weight:650;font-size:13px;padding:9px 13px}.primary{background:var(--green);color:white}.primary:hover{background:#164c3b}.primary .di{width:16px;height:16px}.secondary{background:white;border:1px solid var(--line)}.primary:disabled{opacity:.5}
.drive-list{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.tools{padding:15px 19px;gap:10px;border-bottom:1px solid var(--line);justify-content:space-between}.search{padding:6px 10px;gap:8px;min-width:0;width:min(300px,65%);background:#f5f7f4;border:1px solid #dce3db;border-radius:6px;color:var(--muted)}.search .di{width:16px;height:16px}.search input{width:100%;min-width:0;border:none;background:transparent;font-size:13px;outline:none}.search:focus-within{outline:2px solid #319276}.status-filter{font-size:12px;color:var(--muted);gap:8px}.status-filter select{font-size:12px}.rows table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.rows th,.rows td{padding:15px 10px;vertical-align:middle;font-size:13px}.rows th{font-size:12px;font-weight:550;background:#f7f9f6;color:var(--muted);padding-top:10px;padding-bottom:10px}.rows th:first-child,.rows td:first-child{padding-left:20px;width:38%}.rows td{border-top:1px solid #e4eae3}.rows tbody tr:hover{background:#fafcf8}.name-cell{gap:12px;min-width:0}.name-cell strong{overflow-wrap:anywhere;line-height:1.5}.folder-tile{width:40px;height:38px;display:grid;place-items:center;background:#f7edd5;color:#b0853d;border-radius:8px;flex:none}.folder-tile .di{width:24px;height:24px}.name-cell small{display:block;color:var(--muted);font-size:11px;margin-top:1px}.flow-status{display:inline-flex;gap:5px;font-size:12px;color:#335e4a;background:#e9f2e9;border-radius:12px;padding:3px 9px;white-space:nowrap}.flow-status i{width:5px;height:5px;background:currentColor;border-radius:50%}.flow-status[data-status=review],.flow-status[data-status=storyboard]{background:#f5ebd9;color:#856526}.flow-status[data-status=production],.flow-status[data-status=edit]{background:#e9eff7;color:#466582}.flow-status[data-status=done]{background:#ecedeb;color:#637066}.row-open{font-size:12px;color:var(--green);font-weight:650}.rows th:last-child{width:55px}.mine-flag{margin-left:5px;font-size:10px;color:#3b7755}.empty{padding:36px 20px;text-align:center;font-size:14px;color:var(--muted)}
.folder-title{gap:14px;min-width:0}.folder-title h1{overflow-wrap:anywhere}.folder-heading .folder-tile{width:54px;height:54px}.folder-heading .folder-tile .di{width:33px;height:33px}.back-link{font-size:13px;color:var(--green);white-space:nowrap}.dir-tabs{gap:17px;border-bottom:1px solid var(--line);margin:0 0 16px}.dir-tabs a{padding:8px 2px;font-size:14px;font-weight:650;color:var(--muted);border-bottom:2px solid transparent}.dir-tabs a[aria-current]{border-color:#267454;color:#245e44}
#notice{font-size:13px;border:1px solid #bfd7c4;border-radius:6px;background:#eef7ec;padding:8px 12px;margin-bottom:13px}#notice[data-error=true]{border-color:#e1b9a8;background:#fff2e9;color:#86462e}
:is(#create-dialog,#delete-dialog){border:1px solid var(--line);border-radius:12px;color:var(--ink);width:min(440px,calc(100% - 24px));padding:21px}dialog::backdrop{background:#172c236e}:is(#create-dialog,#delete-dialog) h2{font-size:22px;margin-bottom:14px}:is(#create-dialog,#delete-dialog) label{display:grid;gap:5px;font-size:13px;font-weight:650}:is(#create-dialog,#delete-dialog) input{border:1px solid var(--line);border-radius:5px;padding:9px}:is(#create-dialog,#delete-dialog) p{font-size:12px;color:var(--muted);margin-top:8px}:is(#create-error,#delete-error){color:#a34128}:is(#create-dialog,#delete-dialog) footer{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
@media(max-width:1000px){#app-layout{grid-template-columns:174px minmax(0,1fr)}.rail{padding-inline:10px}.brand{font-size:16px}.topbar{padding-inline:18px}main{padding:20px}.rows td,.rows th{padding-inline:7px}.rows th:first-child,.rows td:first-child{width:34%;padding-left:12px}.folder-tile{width:32px;height:32px}.name-cell{gap:7px}}
@media(max-width:760px){#app-layout{display:block}.rail{border-right:0;border-bottom:1px solid var(--line);padding:0 13px 8px}.brand{height:47px}.brand-icon{width:28px;height:28px}.rail-label,.rail-bottom{display:none}.rail nav{display:flex;gap:5px}.rail nav a{font-size:12px;padding:6px 8px;gap:5px}.rail nav .di{width:15px}.count{font-size:10px}.topbar{height:auto;min-height:45px;padding:5px 13px}.crumb{gap:5px}.identity{gap:4px}.identity select{font-size:12px;max-width:135px}.heading{margin-bottom:13px}main{padding:18px 12px}.tools{padding:10px;gap:6px}.search{width:auto;flex:1}.status-filter{font-size:0;gap:0}.rows table,.rows tbody{display:block}.rows thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.rows tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:11px;border-top:1px solid var(--line)}.rows td,.rows td:first-child{border:0;padding:0;width:auto}.rows td:nth-child(3),.rows td:nth-child(4){font-size:11px;color:var(--muted)}.rows td:nth-child(3)::before{content:'接手人 · '}.rows td:nth-child(4)::before{content:'制片 · '}.rows td:nth-child(5){display:none}.rows td:nth-child(2),.rows td:nth-child(4){justify-self:end}.folder-heading .folder-tile{width:38px;height:38px}.folder-heading .folder-tile .di{width:25px;height:25px}.folder-title{gap:8px}.back-link{font-size:12px}.dir-tabs a{font-size:13px}}

.online-identity,.layout-toggle,.layout-toggle button,.sync-banner{display:flex;align-items:center}
.online-identity{gap:12px;flex:none;font-size:13px}.online-identity a{font-weight:650}.online-identity button,.layout-toggle button{background:transparent;color:var(--muted)}
.online-identity button{border-left:1px solid var(--line);padding:2px 0 2px 12px;font-size:12px}
.tools .status-filter{margin-left:auto}.layout-toggle{gap:2px;border:1px solid var(--line);padding:2px;border-radius:7px;background:#f7f9f6}
.layout-toggle button{justify-content:center;gap:7px;min-width:32px;min-height:29px;border-radius:4px}
.layout-toggle button[aria-pressed=true]{background:white;color:var(--green);box-shadow:0 1px 4px #2337282c}
.layout-toggle .di{width:16px;height:16px}
.folder-grid{list-style:none;margin:0;padding:16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));gap:12px}
.folder-card{display:grid;justify-items:start;align-content:start;gap:7px;height:100%;border:1px solid #dee7df;border-radius:10px;padding:15px;background:#fff}
.folder-card:hover,.folder-card:focus-visible{background:#f4f8f2;border-color:#a5bcac}.folder-card strong{font-size:15px;overflow-wrap:anywhere}
.folder-card .card-people,.folder-card small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.folder-card small{font-size:11px}
.win-folder{display:block;position:relative;width:53px;height:37px;margin:3px 0 5px;isolation:isolate;border-radius:4px 5px 4px 4px;background:linear-gradient(180deg,#f3be52,#dc9a34);box-shadow:0 2px 3px #8d6b2733}
.win-folder::before{content:"";position:absolute;z-index:-1;top:-4px;left:0;width:24px;height:10px;background:#edb345;border-radius:5px 6px 0 0}
.win-folder::after{content:"";position:absolute;inset:7px 0 0;background:linear-gradient(150deg,#ffe497,#ffce60 70%,#edb74d);border-radius:4px;box-shadow:inset 0 1px #ffecd0}
.auth-shell{min-height:100dvh;max-width:none;display:grid;place-items:center;padding:24px;background:#eef4ef}
.auth-card,.account-card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}
.auth-card{width:min(100%,380px);box-shadow:0 10px 45px #1b453312}.auth-card h1{font-size:24px;margin:18px 0 4px}.auth-card>p,.account-card>p{font-size:13px;color:var(--muted)}
.auth-card>.secondary{margin-top:12px}.auth-card [data-error=true],.account-form p[data-error=true]{color:#9a432c}
.account-form{display:grid;gap:12px;margin-top:14px}.account-form label{display:grid;gap:5px;font-size:12px;font-weight:650}
.account-form input{min-width:0;width:100%;padding:8px 10px;border:1px solid #bed0c4;border-radius:6px;background:#fff}
.account-form button{justify-self:start}.auth-card .account-form button{justify-self:stretch}
.account-form p:empty{display:none}.account-form p{font-size:12px;color:var(--green);overflow-wrap:anywhere}
.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.account-card h2{font-size:17px}.account-card h3{font-size:14px;margin-top:15px}.account-card>p{margin-top:5px}.pref-toggle{width:max-content;margin-top:16px}.pref-toggle button{padding-inline:12px;font-size:13px}
.sync-banner{gap:12px;justify-content:space-between;flex-wrap:wrap;background:#fff7dc;border:1px solid #ecdaa5;border-radius:7px;padding:8px 12px;margin-bottom:12px;font-size:13px}
@media(max-width:760px){.rail nav{flex-wrap:wrap}.rail nav a{padding:5px 7px}.account-grid{grid-template-columns:1fr}.folder-grid{padding:8px;gap:7px;grid-template-columns:repeat(auto-fill,minmax(min(145px,100%),1fr))}.folder-card{padding:11px}.tools .status-filter{margin-left:0}.layout-toggle button{min-width:29px;padding:3px}.auth-shell{padding:15px}.account-card{padding:16px}}
.selection-line{padding:8px 19px;border-bottom:1px solid #e4eae3;background:#fafcf9}.selection-line label,.row-identity{display:flex;align-items:center;gap:9px}
.selection-line label{font-size:12px;color:var(--muted);width:max-content;cursor:pointer}.project-check,.selection-line input{margin:0;accent-color:var(--green);width:15px;height:15px;flex:none;cursor:pointer}
.folder-grid>li{position:relative}.folder-grid .project-check{position:absolute;z-index:1;top:13px;right:13px}.folder-grid>li:has(:checked) .folder-card,.rows tr:has(.project-check:checked){background:#eaf4ec}
@media(max-width:760px){.selection-line{padding:7px 12px}.row-identity{gap:6px}}
.team-shortcut span{display:block;margin-top:5px;font-size:13px;color:var(--green)}
.team-shortcut:hover{border-color:#91ad9c}
.dfg-capacity{display:grid;gap:6px;padding:10px 16px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}
.dfg-capacity progress{width:100%;height:6px;accent-color:var(--green)}
.dfg-capacity[data-blocked=true]{color:#8a482e}.dfg-capacity[data-blocked=true] progress{accent-color:#a85e39}
.ds-quota-form{display:flex;align-items:end;flex-wrap:wrap;gap:6px 10px;margin-top:12px}
.ds-quota-form input{width:12em;max-width:100%}.ds-quota-form .ds-note{flex-basis:100%}.ds-quota-form .ds-note:empty{display:none}
.project-capacity,.dfg-file-size{font-variant-numeric:tabular-nums}

.folder-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.folder-actions .danger-outline{color:#9b382f;border-color:#d9bab5}
.folder-actions .danger-outline:hover{background:#fff3f1}
#delete-dialog #delete-impact{font-size:14px;color:var(--ink);overflow-wrap:anywhere;margin-bottom:14px}
#delete-dialog input{width:100%;min-width:0}
#delete-dialog .danger-solid{background:#a1372e}
#delete-dialog .danger-solid:hover:enabled{background:#862c24}
@media(max-width:600px){.folder-heading{align-items:flex-start;flex-direction:column}.folder-actions{justify-content:flex-start}}
