/* Shared desktop-style workspace: a quiet rail, directory sidebar and inspector. */
.drive-shell{--rail:60px;--nav:184px;--inspector:236px;grid-template-columns:var(--rail) var(--nav) minmax(0,1fr) var(--inspector);font-size:13px;background:#fff}
.drive-shell .topbar{position:fixed;inset:0 0 auto;height:62px;padding:0 20px;gap:18px;z-index:35;box-shadow:0 1px 3px #26304104}
.drive-shell .topbar .brand{width:212px;gap:9px}.drive-shell .brand-mark{width:27px;height:27px}.drive-shell .brand-title{font-size:19px}.drive-shell .brand-title>span{font-size:11px}
.drive-shell .search-wrap{display:flex;align-items:center;width:auto;max-width:620px;min-width:160px;flex:1;margin:0 auto;height:34px;border-radius:18px;background:#f4f5f7;padding-right:8px}
.drive-shell .search-wrap input{flex:1;width:0;border:0;border-radius:18px;background:transparent;height:34px;padding-right:58px}.drive-shell .search-wrap kbd{right:76px}.drive-shell .search-mode{flex-shrink:0;width:60px;height:22px;color:#778291;border-color:#dce1e8;font-size:11px}
.drive-shell .topbar .avatar-button{margin-left:0}.drive-shell .account-name{max-width:90px}
.app-rail{position:fixed;inset:62px auto 0 0;width:var(--rail);border-right:1px solid #e9edf2;background:#f8f9fb;z-index:26;display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:5px}
.rail-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:50px;height:61px;color:#667183;border-radius:4px;font-size:11px}.rail-button .icon{width:20px;height:20px}.rail-button:hover{background:#edf2f8}.rail-button.active{color:#087cec;background:#eaf3ff}.rail-bottom{margin-top:auto}
.drive-shell .sidebar{left:var(--rail);top:62px;width:var(--nav);background:#fff;border-color:#eceef2;z-index:25}
.drive-shell .sidebar-content{padding:0 10px 14px}.file-sidebar-title{height:47px;display:flex;align-items:center;padding:0 9px;font-size:12px;color:#454f60}
.drive-shell .sidebar-content>.nav-label{display:none}.drive-shell .nav-list{gap:2px}.drive-shell .nav-item{min-height:36px;padding:8px 10px;border-radius:3px;gap:10px;font-size:13px}.drive-shell .nav-item.active{background:#eaf3ff;color:#087cec;font-weight:500}.drive-shell .nav-item.active>.icon{color:#087cec}
.drive-shell .nav-section-heading{margin:18px 2px 6px}.drive-shell .nav-separator{margin:16px 10px}.drive-shell .nav-label{font-size:10px;margin-bottom:6px}.drive-shell .storage-widget{display:none}.drive-shell .sidebar-settings{padding:14px 19px}
.sidebar-tools{margin-top:16px;border-top:1px solid #eef0f3;padding-top:12px}.sidebar-tools>summary{cursor:pointer;padding:8px 10px;color:#757f8d;font-size:11px}.sidebar-tools .management-nav{margin:0}.sidebar-tools .management-nav>.nav-label{display:none}
.drive-shell .workspace{grid-column:3;padding-top:62px;min-width:0}.drive-shell .main{padding:22px 26px 0;max-width:none}.drive-shell .page-heading{align-items:stretch;flex-direction:column-reverse;gap:19px;margin-bottom:12px}.drive-shell .page-actions{justify-content:flex-start;gap:8px}.drive-shell .page-actions .btn{min-height:30px;font-size:12px;padding:5px 12px;border-radius:3px}.drive-shell .page-actions .btn.primary{background:#fff;color:#273347;border-color:#dce1e8}.drive-shell .page-actions .btn.primary:hover{background:#f1f6fc;border-color:#97bce7}
.drive-shell h1{font-size:15px;letter-spacing:0;font-weight:500}.drive-shell .item-count{font-size:11px;margin:0}.drive-shell .title-row{gap:10px}.drive-shell .files-toolbar{flex-wrap:wrap;min-height:35px;margin-bottom:6px;gap:6px}.drive-shell .file-filters{gap:0}.drive-shell .filter-tab{font-size:11px;padding:6px 8px}.drive-shell .toolbar-actions{gap:3px}.drive-shell .toolbar-actions select{font-size:11px}.drive-shell .divider{margin:0 3px}.drive-shell .file-table th{height:34px;background:#fafbfd;font-weight:400;font-size:11px;border-color:#eff1f4}.drive-shell .file-table td{height:47px;padding-top:7px;padding-bottom:7px;border-color:#f3f5f7;font-size:12px}.drive-shell .file-name strong{font-weight:400;font-size:13px}.drive-shell .file-symbol{width:25px;height:28px}.drive-shell .file-symbol .icon{width:22px;height:22px}.drive-shell .file-table .col-kind{display:none}.drive-shell .file-table .col-updated{width:126px}.drive-shell .file-table .col-size{width:80px}.drive-shell .file-table .col-actions{width:72px}.drive-shell .files-footer{font-size:10px;margin-top:12px}.drive-shell .file-date,.drive-shell .file-size{font-size:11px;color:#7c8490}.drive-shell .empty{min-height:360px}.drive-shell .empty-art{background:none;box-shadow:none}
.space-inspector{position:fixed;inset:62px 0 0 auto;width:var(--inspector);border-left:1px solid #eceef2;background:#fff;padding:23px 18px;overflow:auto;z-index:23}.inspector-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:24px}.inspector-heading h2{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:500}.inspector-heading h2 .icon{color:#087cec}.inspector-close{width:22px;height:22px;margin-top:-4px}.inspector-capacity p{font-size:10px;color:#697585}.inspector-capacity .progress-bar{height:3px;margin:10px 0 17px}.inspector-capacity .progress-bar i{background:#1685ed}.inspector-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.inspector-actions .btn{font-size:11px;min-height:27px;padding:4px 8px;border-radius:2px}.inspector-members{margin-top:28px}.inspector-members h3,.inspector-personal h3{font-size:12px;font-weight:500}.inspector-members h3 small{font-size:10px;color:#87909b;margin-left:5px}.inspector-search{display:flex;align-items:center;gap:7px;border-bottom:1px solid #edf0f3;margin:12px 0}.inspector-search .icon{width:13px}.inspector-search input{width:100%;border:0;outline:none;font-size:11px;padding:9px 0}.inspector-member{display:flex;gap:9px;align-items:center;margin:21px 0}.member-dot{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:25px;height:25px;border-radius:50%;background:#ebf2ff;color:#447ed4;font-size:11px}.tone-1{background:#e7f5ef;color:#268764}.tone-2{background:#f0ebff;color:#7a5ec9}.tone-3{background:#fff0e4;color:#b97837}.tone-4{background:#fde9ed;color:#b95a6c}.inspector-member>div{min-width:0}.inspector-member p{font-size:11px;overflow-wrap:anywhere;line-height:1.6}.inspector-member p small{font-size:9px;color:#94753d;background:#fff5dd;padding:1px 3px;white-space:nowrap}.inspector-member>div>span{display:block;color:#8b929c;font-size:10px;margin-top:4px;overflow-wrap:anywhere}.inspector-personal{margin-top:26px;line-height:1.8}.inspector-personal p{margin:10px 0;font-size:12px}.inspector-personal small,.inspector-help{font-size:11px;color:#8a929e;line-height:1.8}.inspector-file{margin-bottom:22px}.inspector-file>.icon{width:36px;height:36px;color:#258be2;margin-bottom:12px}.inspector-file h3{font-size:13px;word-break:break-word}.inspector-properties{display:grid;grid-template-columns:68px minmax(0,1fr);font-size:11px;gap:15px 8px;margin:20px 0 25px}.inspector-properties dt{color:#9299a3}.inspector-properties dd{margin:0;word-break:break-word;line-height:1.5}.inspector-help{margin-top:24px}
.drive-shell.inspector-hidden{grid-template-columns:var(--rail) var(--nav) minmax(0,1fr)}.drive-shell.inspector-hidden .space-inspector{display:none}
.drive-shell.panel-mode{grid-template-columns:var(--rail) minmax(0,1fr)}.drive-shell.panel-mode .workspace{grid-column:2}.drive-shell.panel-mode .sidebar,.drive-shell.panel-mode .space-inspector,.drive-shell.panel-mode .main{display:none}.workspace-page{padding:23px 30px;max-width:1500px;margin:auto}.workspace-page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.workspace-page h1{font-size:15px}.sync-page-toolbar{display:flex;gap:9px;justify-content:flex-end;margin-bottom:15px}.sync-page-note{background:#f6f7f9;padding:11px 14px;font-size:12px;line-height:1.8;color:#627184;display:flex;gap:10px;align-items:center}.sync-page-note .icon{color:#20a474}.sync-device-table{width:100%;border-collapse:collapse;margin:12px 0 30px;font-size:12px}.sync-device-table th{text-align:left;font-size:11px;color:#8d95a1;font-weight:400;padding:13px}.sync-device-table td{padding:18px 13px;border-bottom:1px solid #f1f3f6}.sync-device-table td:first-child{display:flex;align-items:center;gap:11px}.sync-device-table td:first-child .icon{color:#0788ed}.sync-legacy{margin-top:32px;max-width:780px;border:1px solid #e7ebf0;border-radius:3px;padding:15px 18px}.sync-legacy summary{cursor:pointer;color:#667485;font-size:12px}.sync-empty{padding:60px 20px;text-align:center;color:#9099a4;font-size:13px}
@media(max-width:1024px){.drive-shell{grid-template-columns:var(--rail) var(--nav) minmax(0,1fr)}.space-inspector{display:none}.drive-shell.inspector-open .space-inspector{display:block;box-shadow:-8px 0 24px #26304112}.drive-shell .account-name{display:none}.drive-shell .main{padding-left:22px;padding-right:22px}.drive-shell .file-table .col-kind{display:none}}
@media(max-width:760px){.drive-shell,.drive-shell.inspector-hidden,.drive-shell.panel-mode{display:block}.drive-shell .workspace{padding-top:58px}.drive-shell .topbar{height:58px;padding:0 12px;gap:8px}.drive-shell .topbar .brand{width:auto}.drive-shell .brand-title{display:none}.drive-shell .brand-mark{width:25px;height:25px}.drive-shell .search-wrap{width:auto;min-width:60px}.drive-shell .search-wrap kbd{display:none}.drive-shell .search-wrap input{padding-right:12px}.drive-shell .topbar .activity-button,.drive-shell .avatar-button>.icon{display:none}.app-rail{display:none}.drive-shell .sidebar{left:0;top:58px;width:232px;transform:translateX(-100%);transition:transform .15s}.drive-shell .sidebar.open{transform:translateX(0)}.drive-shell .mobile-menu{display:inline-flex}.drive-shell .main{padding:16px 12px}.drive-shell .page-heading{gap:17px}.drive-shell .file-table .col-updated{display:none}.drive-shell .file-filters{flex-wrap:nowrap;overflow:auto;max-width:60vw}.drive-shell .filter-tab{font-size:10px;padding:5px 7px}.drive-shell .file-table .col-select{width:29px}.drive-shell .files-footer{gap:8px;flex-wrap:wrap}.space-inspector{top:58px;width:min(300px,90vw)}.workspace-page{padding:18px 14px}.sync-page-toolbar{justify-content:flex-start;flex-wrap:wrap}.sync-device-table{font-size:11px}.sync-device-table th,.sync-device-table td{padding:12px 7px}.sync-device-table .device-created{display:none}.drive-shell.panel-mode .sidebar.open{display:flex}.sidebar-backdrop{z-index:24;position:fixed;inset:58px 0 0;background:#18263b44}.drive-shell .title-row h1{font-size:15px}.drive-shell .toolbar-actions{width:auto;flex-wrap:wrap}.drive-shell .file-table .col-actions{width:36px}.drive-shell .nav-item{min-height:40px}.drive-shell .search-wrap input{padding-right:8px}.drive-shell .file-filters{max-width:100%;width:100%}.drive-shell .file-filters .filter-tab{flex-shrink:0;min-height:32px}.drive-shell .sidebar{box-shadow:12px 0 35px #17253a12}}

/* Keep one home for each action and allow dense toolbars to wrap safely. */
.drive-shell .page-actions{margin-left:0}.drive-shell .team-initial{color:#1677e8;background:#eaf3ff}.drive-shell .sidebar-content>.nav-section-heading{margin-top:3px}.drive-shell .team-nav{padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #edf0f4}.drive-shell .file-sidebar-title{font-size:13px;color:#2e3b4d}.drive-shell .sidebar-tools summary{list-style-position:inside;padding-left:8px}.drive-shell .nav-list[aria-label="主导航"]{margin-top:3px}.drive-shell .file-filters .filter-tab{border-radius:2px;background:transparent;color:#87909e}.drive-shell .file-filters .filter-tab.active{color:#1677e8;background:#f0f6ff}.drive-shell .selection-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:9px 10px;border-radius:3px}.drive-shell .selection-bar>.spacer{display:none}.drive-shell .selection-bar>span:first-child{margin-right:auto}.drive-shell .selection-bar .btn{font-size:11px;padding:5px 8px;min-height:29px}.drive-shell .page-actions .btn{box-shadow:none}.drive-shell.panel-mode #toggle-inspector{display:none}.rail-button{position:relative}.rail-unread{position:absolute;top:4px;right:6px;min-width:15px;height:15px;border-radius:8px;background:#e76c69;color:white;font:9px/15px Arial,sans-serif;text-align:center;padding:0 3px}.drive-shell .file-table td{border-bottom-color:#f4f5f7}.drive-shell .file-table tbody tr:hover{background:#f7faff}.drive-shell .file-table tbody tr.selected{background:#edf5ff}.context-menu button:disabled{opacity:.4;cursor:not-allowed}.context-menu button:disabled:hover{background:transparent}
@media(min-width:761px){.drive-shell .mobile-shell-actions,.drive-shell .management-nav [data-action=work],.drive-shell .sidebar-content [data-action=devices],.drive-shell .sidebar-content [data-action=transfers],.drive-shell .sidebar-settings{display:none}}
@media(max-width:760px){.drive-shell .selection-bar .btn{font-size:11px}.drive-shell .sidebar-content>.nav-section-heading{margin-top:3px}.drive-shell .page-actions{flex-wrap:wrap}.drive-shell .topbar .brand{display:none}.drive-shell .topbar .mobile-menu{flex-shrink:0}.drive-shell .search-wrap input{font-size:12px}}
