:root{--v2-green:#376D5B;--v2-ink:#24332F;--v2-muted:#65746F;--v2-line:#E6EBE8}body{color:var(--v2-ink);font-family:system-ui,"Microsoft YaHei",sans-serif}button,a,input,select{touch-action:manipulation}.heat-line{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--v2-muted)}.heat-line button{font-size:12px;border:0;background:none;padding:4px 8px;color:inherit}.heat-line button[aria-pressed=true]{color:var(--v2-green);font-weight:600}.v2-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}.v2-controls select{min-height:44px}.move-handle{cursor:grab;min-width:44px;min-height:44px}.drop-target{outline:2px solid var(--v2-green);background:#eef5ef!important}.v2-upload-result{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45dvh;overflow:auto}.v2-back{min-height:44px}.v2-upload-result button{margin:4px}.document-preview .page-viewport{min-width:0}.v2-directory-hint{font-size:12px;color:var(--v2-muted)}
@media(max-width:767px){body{background:#F4F6F4;overflow-x:clip}.shell,main,#workspace,.reader-list,.document-split{min-width:0}main{padding:12px!important}.toolbar h1{font-size:21px}.toolbar{gap:8px}.filename{font-size:15px!important;white-space:normal!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.name-cell>div{min-width:0}.name-cell .mobile-meta{font-size:12px;color:#65746F}.reader-list .table-wrap{border:0!important;border-radius:0!important;box-shadow:none!important}#items tr{min-height:72px;border-bottom:1px solid #E6EBE8!important;box-shadow:none!important;border-radius:0!important;margin:0!important;background:#fff!important}#items button,.more summary{min-height:44px;min-width:44px}.heat-line{flex-wrap:wrap;gap:4px}.search input{min-height:44px}.mobile-bottom{height:calc(56px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #E6EBE8}.mobile-bottom button{min-height:44px;color:#376D5B}.preview-open .document-preview{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;z-index:1000!important;background:white;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}body.previewing .mobile-bottom{display:none!important}.preview-heading{flex-wrap:wrap}.preview-tools{flex-wrap:wrap}.preview-tools button{min-width:44px;min-height:44px}.page-viewport{overflow:auto!important;overscroll-behavior:contain}dialog{max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto}.more-menu{z-index:1100!important;max-width:calc(100vw - 24px)}.v2-controls{gap:6px}.v2-controls select{flex:1;min-width:120px}}
@media(min-width:768px) and (max-width:1199px){#library-sidebar{width:160px}.document-split{min-width:0}.document-preview{min-width:0}}
@media(max-width:767px){#new-folder:not([hidden]){display:inline-flex!important;min-height:44px}.toolbar>div{display:flex!important;gap:6px;flex-wrap:wrap}.toolbar h1{flex:1}.mobile-bottom button{display:block!important;flex:1}.v2-controls{margin:8px 0}.v2-controls #v2-organize{display:none}.organizing .v2-controls #v2-organize{display:block}#items .move-handle{display:none}.organizing #items .move-handle{display:inline-flex}.v2-controls label{margin:0}.v2-controls label select{margin-top:0}}
